From 91fa837eac892106b614bb4d7f1b1384e2e7a3cd Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Mon, 16 Oct 2023 15:47:20 +0200 Subject: [PATCH] =?UTF-8?q?Videa:=20P=C5=99ejmenov=C3=A1no=20na=20n=C3=A1v?= =?UTF-8?q?ody=20k=20=C3=BAloh=C3=A1m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mo/web/templates/doc_index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mo/web/templates/doc_index.html b/mo/web/templates/doc_index.html index d7be0a26..bf0998e1 100644 --- a/mo/web/templates/doc_index.html +++ b/mo/web/templates/doc_index.html @@ -52,12 +52,12 @@ ), ]) %} -{% set videos = filter_doc([ +{% set task_guides = filter_doc([ Doc( min_role=RoleType.garant_skola, cat='A', url='https://youtube.com/playlist?list=PLoVd8MCZVtyMEjIeYms1P9qaqY0uLzDqZ&feature=shared', - link_text='Úlohy kategorie A: domácí kolo 73. ročníku', + link_text='Úlohy kategorie A–C: domácí kolo 73. ročníku', ), ]) %} @@ -72,11 +72,11 @@ {% endfor %} </ul> -{% if videos %} -<h3>Videa</h3> +{% if task_guides %} +<h3>Návody k úlohám</h3> <ul> -{% for d in videos %} +{% for d in task_guides %} <li><a href='{{ d.url }}'>{{ d.link_text }}</a>{{ d.suffix|none_value("") }} {% endfor %} </ul> -- GitLab