Add additional details to torrent info

Closes #29
master
Luminarys 2018-03-13 17:00:33 -07:00
parent c7ac45dc3a
commit 513a59852b
1 changed files with 6 additions and 0 deletions

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}