Small torrent page enhancements.

This commit is contained in:
Alexey Skobkin 2019-10-21 02:00:43 +03:00
parent 2cb8148e22
commit 2d357d5c80
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -8,14 +8,15 @@
<td>{{ torrent.name }}</td>
</tr>
<tr>
<td>Hash</td>
<td>Magnet</td>
<td>
<a href="{{ magnet(torrent.infoHash, torrent.name) }}">{{ torrent.infoHash }}</a>
<a href="{{ magnet(torrent.infoHash, torrent.name) }}"><code>{{ torrent.infoHash }}</code></a>
(<a href="{{ path('magnet_redirect', {'infoHash': torrent.infoHash}) }}">Redirect</a>)
</td>
</tr>
<tr>
<td>Size</td>
<td>{{ torrent.totalSize | readable_size }}</td>
<td><abbr title="{{ torrent.totalSize }} bytes">{{ torrent.totalSize | readable_size }}</abbr></td>
</tr>
<tr>
<td>Discovered</td>