Merged in upgrade_and_refactoring (pull request #31)

Small torrent page enhancements.
This commit is contained in:
Alexey Eschenko 2019-10-20 23:01:36 +00:00
commit 6c3adfaac1

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>