mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Add Date of registration to detail pages
This commit is contained in:
parent
69dd08751b
commit
73ff516078
@ -74,7 +74,9 @@ let Edition = React.createClass({
|
|||||||
<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="CREATED 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="YEAR OF CREATION"
|
||||||
|
value={Moment(edition.date_created, 'YYYY-MM-DD').year()} />
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
<EditionSummary
|
<EditionSummary
|
||||||
@ -185,6 +187,9 @@ let EditionSummary = React.createClass({
|
|||||||
label={getLangText('ID')}
|
label={getLangText('ID')}
|
||||||
value={edition.bitcoin_id}
|
value={edition.bitcoin_id}
|
||||||
ellipsis={true} />
|
ellipsis={true} />
|
||||||
|
<DetailProperty
|
||||||
|
label="DATE OF TIMESTAMPING"
|
||||||
|
value={Moment(edition.datetime_registered).format('MMM. DD, YYYY, h:mm:ss')} />
|
||||||
<DetailProperty
|
<DetailProperty
|
||||||
label={getLangText('OWNER')}
|
label={getLangText('OWNER')}
|
||||||
value={edition.owner} />
|
value={edition.owner} />
|
||||||
|
@ -272,7 +272,7 @@ let PieceContainer = React.createClass({
|
|||||||
<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="CREATED 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="YEAR OF CREATION" 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/>
|
||||||
</div>
|
</div>
|
||||||
@ -281,6 +281,9 @@ let PieceContainer = React.createClass({
|
|||||||
<div className="ascribe-detail-header">
|
<div className="ascribe-detail-header">
|
||||||
<DetailProperty label={getLangText('ASCRIBED BY')} 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} />
|
||||||
|
<DetailProperty
|
||||||
|
label="DATE OF TIMESTAMPING"
|
||||||
|
value={Moment(piece.datetime_registered).format('MMM. DD, YYYY, h:mm:ss')} />
|
||||||
<LicenseDetail license={piece.license_type} />
|
<LicenseDetail license={piece.license_type} />
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user