Merge pull request #41 from Luminarys/master

Add additional details to torrent info
master
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
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}