Add additional details to torrent info

Closes #29
This commit is contained in:
Luminarys 2018-03-13 17:00:33 -07:00
parent c7ac45dc3a
commit 513a59852b

View File

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