mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Merge branch 'master' of bitbucket.org:ascribe/onion
This commit is contained in:
commit
643a50a242
@ -184,8 +184,8 @@ function bundle(watch) {
|
|||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulpif(argv.production, uglify()))
|
//.pipe(gulpif(argv.production, uglify()))
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
//.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulp.dest('./build/js'))
|
.pipe(gulp.dest('./build/js'))
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(browserSync.stream())
|
.pipe(browserSync.stream())
|
||||||
|
@ -617,9 +617,11 @@ let CoaDetails = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<p className="text-center ascribe-button-list">
|
<p className="text-center ascribe-button-list">
|
||||||
<button className="btn btn-default btn-xs" href={this.state.coa.url_safe} target="_blank">
|
<a href={this.state.coa.url_safe} target="_blank">
|
||||||
Download <Glyphicon glyph="cloud-download"/>
|
<button className="btn btn-default btn-xs">
|
||||||
</button>
|
Download <Glyphicon glyph="cloud-download"/>
|
||||||
|
</button>
|
||||||
|
</a>
|
||||||
<Link to="coa_verify">
|
<Link to="coa_verify">
|
||||||
<button className="btn btn-default btn-xs">
|
<button className="btn btn-default btn-xs">
|
||||||
Verify <Glyphicon glyph="check"/>
|
Verify <Glyphicon glyph="check"/>
|
||||||
|
@ -23,7 +23,7 @@ export function getLangText(s, ...args) {
|
|||||||
}
|
}
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
if(!(s in languages[lang])) {
|
if(!(s in languages[lang])) {
|
||||||
console.error(new Error('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file.'));
|
//console.error(new Error('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file.'));
|
||||||
} else {
|
} else {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user