simplify published date

This commit is contained in:
btzr-io 2017-10-08 14:23:55 -06:00
parent ac2a69c47d
commit e801f77fd9
2 changed files with 5 additions and 4 deletions

View file

@ -47,10 +47,6 @@ class FileDetails extends React.PureComponent {
<div className="card__content">
<table className="table-standard table-stretch">
<tbody>
<tr>
<td>{__("Published on")}</td>
<td><DateTime block={height} /></td>
</tr>
<tr>
<td>{__("Content-Type")}</td><td>{mediaType}</td>
</tr>

View file

@ -52,6 +52,7 @@ class FilePage extends React.PureComponent {
);
}
const { height } = claim;
const title = metadata.title;
const isRewardContent = rewardedContentClaimIds.includes(claim.claim_id);
const mediaType = lbry.getMediaType(contentType);
@ -86,6 +87,10 @@ class FilePage extends React.PureComponent {
<h1>{title}</h1>
<div className="card__subtitle">
<UriIndicator uri={uri} link={true} />
<span class="meta" style={{ margin: "10px" }}>&#9899;</span>
<span class="meta">
Published on <DateTime block={height} />
</span>
</div>
</div>
<FileDetails uri={uri} />