simplify published date
This commit is contained in:
parent
ac2a69c47d
commit
e801f77fd9
2 changed files with 5 additions and 4 deletions
|
@ -47,10 +47,6 @@ class FileDetails extends React.PureComponent {
|
||||||
<div className="card__content">
|
<div className="card__content">
|
||||||
<table className="table-standard table-stretch">
|
<table className="table-standard table-stretch">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td>{__("Published on")}</td>
|
|
||||||
<td><DateTime block={height} /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>{__("Content-Type")}</td><td>{mediaType}</td>
|
<td>{__("Content-Type")}</td><td>{mediaType}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -52,6 +52,7 @@ class FilePage extends React.PureComponent {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const { height } = claim;
|
||||||
const title = metadata.title;
|
const title = metadata.title;
|
||||||
const isRewardContent = rewardedContentClaimIds.includes(claim.claim_id);
|
const isRewardContent = rewardedContentClaimIds.includes(claim.claim_id);
|
||||||
const mediaType = lbry.getMediaType(contentType);
|
const mediaType = lbry.getMediaType(contentType);
|
||||||
|
@ -86,6 +87,10 @@ class FilePage extends React.PureComponent {
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
<div className="card__subtitle">
|
<div className="card__subtitle">
|
||||||
<UriIndicator uri={uri} link={true} />
|
<UriIndicator uri={uri} link={true} />
|
||||||
|
<span class="meta" style={{ margin: "10px" }}>⚫</span>
|
||||||
|
<span class="meta">
|
||||||
|
Published on <DateTime block={height} />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FileDetails uri={uri} />
|
<FileDetails uri={uri} />
|
||||||
|
|
Loading…
Add table
Reference in a new issue