Merge pull request #41 from Luminarys/master

Add additional details to torrent info
This commit is contained in:
Drew DeVault 2018-03-13 20:09:03 -04:00 committed by GitHub
commit 9888226287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,10 +221,16 @@ class Torrent extends Component {
<Card style={{marginBottom: "1rem"}}> <Card style={{marginBottom: "1rem"}}>
<CardBlock> <CardBlock>
<dl> <dl>
<dt>Type</dt>
<dd>{torrent.private ? "Private" : "Public"}</dd>
<dt>Downloading to</dt> <dt>Downloading to</dt>
<dd>{torrent.path}</dd> <dd>{torrent.path}</dd>
<dt>Created</dt> <dt>Created</dt>
<dd><DateDisplay when={moment(torrent.created)} /></dd> <dd><DateDisplay when={moment(torrent.created)} /></dd>
<dt>Comment</dt>
<dd>{torrent.comment || "None"}</dd>
<dt>Creator</dt>
<dd>{torrent.creator || "None"}</dd>
</dl> </dl>
<TorrentOptions <TorrentOptions
id={torrent.id} id={torrent.id}