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">
|
||||
<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>
|
||||
|
|
|
@ -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" }}>⚫</span>
|
||||
<span class="meta">
|
||||
Published on <DateTime block={height} />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<FileDetails uri={uri} />
|
||||
|
|
Loading…
Reference in a new issue