mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Merge pull request #123 from ascribe/AG-118-Change-BY-to-CREATED_BY-in-detail-pages
Change language in detail pages
This commit is contained in:
commit
0d2a8504ba
@ -70,7 +70,7 @@ let Edition = React.createClass({
|
|||||||
<div className="ascribe-detail-header">
|
<div className="ascribe-detail-header">
|
||||||
<hr className="hidden-print" style={{marginTop: 0}}/>
|
<hr className="hidden-print" style={{marginTop: 0}}/>
|
||||||
<h1 className="ascribe-detail-title">{edition.title}</h1>
|
<h1 className="ascribe-detail-title">{edition.title}</h1>
|
||||||
<DetailProperty label="BY" value={edition.artist_name} />
|
<DetailProperty label="CREATED BY" value={edition.artist_name} />
|
||||||
<DetailProperty label="DATE" value={Moment(edition.date_created, 'YYYY-MM-DD').year()} />
|
<DetailProperty label="DATE" value={Moment(edition.date_created, 'YYYY-MM-DD').year()} />
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -269,7 +269,7 @@ let PieceContainer = React.createClass({
|
|||||||
<div className="ascribe-detail-header">
|
<div className="ascribe-detail-header">
|
||||||
<hr className="hidden-print" style={{marginTop: 0}} />
|
<hr className="hidden-print" style={{marginTop: 0}} />
|
||||||
<h1 className="ascribe-detail-title">{piece.title}</h1>
|
<h1 className="ascribe-detail-title">{piece.title}</h1>
|
||||||
<DetailProperty label="BY" value={piece.artist_name} />
|
<DetailProperty label="CREATED BY" value={piece.artist_name} />
|
||||||
<DetailProperty label="DATE" value={Moment(piece.date_created, 'YYYY-MM-DD').year() } />
|
<DetailProperty label="DATE" value={Moment(piece.date_created, 'YYYY-MM-DD').year() } />
|
||||||
{piece.num_editions > 0 ? <DetailProperty label="EDITIONS" value={ piece.num_editions } /> : null}
|
{piece.num_editions > 0 ? <DetailProperty label="EDITIONS" value={ piece.num_editions } /> : null}
|
||||||
<hr/>
|
<hr/>
|
||||||
@ -277,7 +277,7 @@ let PieceContainer = React.createClass({
|
|||||||
}
|
}
|
||||||
subheader={
|
subheader={
|
||||||
<div className="ascribe-detail-header">
|
<div className="ascribe-detail-header">
|
||||||
<DetailProperty label={getLangText('REGISTREE')} value={ piece.user_registered } />
|
<DetailProperty label={getLangText('ASCRIBED BY')} value={ piece.user_registered } />
|
||||||
<DetailProperty label={getLangText('ID')} value={ piece.bitcoin_id } ellipsis={true} />
|
<DetailProperty label={getLangText('ID')} value={ piece.bitcoin_id } ellipsis={true} />
|
||||||
<LicenseDetail license={piece.license_type} />
|
<LicenseDetail license={piece.license_type} />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user