diff --git a/mo/web/templates/doc_index.html b/mo/web/templates/doc_index.html index 8f8b9b4ac35c5c359e17342b20a0cd1a56058c9e..d7be0a262a0602991668cad55a98ca4a2e2b6887 100644 --- a/mo/web/templates/doc_index.html +++ b/mo/web/templates/doc_index.html @@ -52,6 +52,15 @@ ), ]) %} +{% set videos = 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', + ), +]) %} + <h3>Pro organizátory</h3> <ul> @@ -63,6 +72,16 @@ {% endfor %} </ul> +{% if videos %} +<h3>Videa</h3> + +<ul> +{% for d in videos %} +<li><a href='{{ d.url }}'>{{ d.link_text }}</a>{{ d.suffix|none_value("") }} +{% endfor %} +</ul> +{% endif %} + <h3>Exporty</h3> <ul>