From 0e89d3f24b2d03cde421339555ea5558366d54f2 Mon Sep 17 00:00:00 2001 From: TheAMM Date: Wed, 24 May 2017 17:17:15 +0300 Subject: [PATCH 1/4] Show torrent hash on torrent page --- nyaa/templates/view.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nyaa/templates/view.html b/nyaa/templates/view.html index d4b852f..765fb86 100644 --- a/nyaa/templates/view.html +++ b/nyaa/templates/view.html @@ -62,6 +62,10 @@
Completed:
{% if config.ENABLE_SHOW_STATS %}{{ torrent.stats.download_count }}{% else %}Coming soon{% endif %}
+
+
SHA-1 hash:
+
{{ torrent.info_hash_as_hex }}
+
+ {% set search_placeholder = 'Search {}\'s torrents...'.format(user.username) if user_page else 'Search...' %}