Tomas Gavenciak
10 years ago
9 changed files with 75 additions and 24 deletions
@ -1,18 +1,3 @@ |
|||||
{% load i18n menu_tags cache %} |
{% load i18n cache %} |
||||
|
|
||||
{% for child in children %} |
MENU |
||||
|
|
||||
|
|
||||
<li class="{% if child.ancestor %}ancestor{% endif %}{% if child.selected %} active{% endif %}{% if child.children %} dropdown{% endif %}"> |
|
||||
{% if child.children %}<a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ child.get_menu_title }} <span class="caret"></span></a> |
|
||||
<ul class="dropdown-menu"> |
|
||||
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %} |
|
||||
</ul> |
|
||||
{% else %} |
|
||||
<a href="{{ child.get_absolute_url }}"><span>{{ child.get_menu_title }}</span></a> |
|
||||
{% endif %} |
|
||||
</li> |
|
||||
|
|
||||
{% if class and forloop.last and not forloop.parentloop %} |
|
||||
{% endif %} |
|
||||
{% endfor %} |
|
||||
|
@ -0,0 +1,18 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
{% load staticfiles sekizai_tags %} |
||||
|
|
||||
|
{% block content %} |
||||
|
<div> |
||||
|
<h2>Ročník {{ rocnik.roman }}</h2> |
||||
|
|
||||
|
<p>Ročník číslo {{ rocnik.rocnik }} ({{ rocnik.prvni_rok }}/{{ rocnik.druhy_rok }}) |
||||
|
|
||||
|
<ul> |
||||
|
{% for c in rocnik.verejna_cisla %} |
||||
|
<li><a href="{% url 'seminar.cislo' c.id %}">Číslo {{ c.kod }}</a> |
||||
|
{% endfor %} |
||||
|
</ul> |
||||
|
|
||||
|
</div> |
||||
|
{% endblock content %} |
||||
|
|
Loading…
Reference in new issue