summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/index.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index d83dfdf..2547750 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,7 +31,15 @@
</select>
<input type=submit value=išči />
{% if request.args.get("regex") %}
- <p>število zadetkov: {{ lentorrents }}</p>
+ {% if lentorrents < 100 %}
+ <p>
+ število zadetkov: {{ lentorrents }}
+ </p>
+ {% else %}
+ <p>
+ prikazujem le prvih sto zadetkov
+ </p>
+ {% endif %}
{% endif %}
{% for torrent in found_torrents %}
<h2><a href={{ torrent.magnet }}>{{ torrent.name | e }}</a></h2>