From 1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 21 Feb 2023 20:30:52 +0100 Subject: telefonsko popravilo py webappa --- templates/index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/index.html') 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 @@ {% if request.args.get("regex") %} -

število zadetkov: {{ lentorrents }}

+ {% if lentorrents < 100 %} +

+ število zadetkov: {{ lentorrents }} +

+ {% else %} +

+ prikazujem le prvih sto zadetkov +

+ {% endif %} {% endif %} {% for torrent in found_torrents %}

{{ torrent.name | e }}

-- cgit v1.2.3