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> <td>{{ torrent.name }}</td>
</tr> </tr>
<tr> <tr>
<td>Hash</td> <td>Magnet</td>
<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> </td>
</tr> </tr>
<tr> <tr>
<td>Size</td> <td>Size</td>
<td>{{ torrent.totalSize | readable_size }}</td> <td><abbr title="{{ torrent.totalSize }} bytes">{{ torrent.totalSize | readable_size }}</abbr></td>
</tr> </tr>
<tr> <tr>
<td>Discovered</td> <td>Discovered</td>