Lesson metadata on side.
[edumed.git] / catalogue / templates / catalogue / snippets / lesson_nav.html
1 {% load url from future %}
2 <h1>
3 {% if root %}
4     <a href="{{ root.get_absolute_url }}">{{ root }}</a>
5 {% else %}
6     <a href="{% url 'catalogue_lessons' %}">Wszystkie dziaƂy</a>
7 {% endif %}
8 </h1>
9
10 <ul>
11 {% for item in siblings %}
12     <li>
13     {% if item == lesson %}
14         <strong>{{ item }}</strong>
15     {% else %}
16         <a href="{{ item.get_absolute_url }}">{{ item }}</a>
17     {% endif %}
18     </li>
19 {% endfor %}
20 </ul>