diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 10 |
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> |