fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepared for SP 4-6.
[edumed.git]
/
catalogue
/
templates
/
catalogue
/
snippets
/
lesson_nav.html
diff --git
a/catalogue/templates/catalogue/snippets/lesson_nav.html
b/catalogue/templates/catalogue/snippets/lesson_nav.html
index
a2ff5ba
..
d2bcf48
100755
(executable)
--- a/
catalogue/templates/catalogue/snippets/lesson_nav.html
+++ b/
catalogue/templates/catalogue/snippets/lesson_nav.html
@@
-1,9
+1,10
@@
-{% load url from future %}
<h1>
{% if root %}
<h1>
{% if root %}
- <a href="{{ root.get_absolute_url }}">{{ root }}</a>
+ <a href="{{ root.get_absolute_url }}">{{ root }}
, <br>{{ lesson.level }}
</a>
{% elif lesson.type == 'synthetic' %}
{% elif lesson.type == 'synthetic' %}
- <a href="{% url 'catalogue_lessons' %}">Lekcje syntetyczne ze wszystkich tematów</a>
+ <a href="{% url 'catalogue_lessons' %}">Kurs skrócony, <br>{{ lesson.level }}</a>
+{% elif lesson.type == 'project' %}
+ <a href="{% url 'catalogue_lessons' %}">Projekty, <br>{{ lesson.level }}</a>
{% else %}
<a href="{% url 'catalogue_lessons' %}">Inne</a>
{% endif %}
{% else %}
<a href="{% url 'catalogue_lessons' %}">Inne</a>
{% endif %}
@@
-14,11
+15,8
@@
<li>
{% if item == lesson %}
<strong>{{ item }}</strong>
<li>
{% if item == lesson %}
<strong>{{ item }}</strong>
- {% if mark_level and item.level.slug == 'liceum' %} (poziom zaawansowany){% endif %}
{% else %}
{% else %}
- <a href="{{ item.get_absolute_url }}">{{ item }}
- {% if mark_level and item.level.slug == 'liceum' %} (poziom zaawansowany){% endif %}
- </a>
+ <a href="{{ item.get_absolute_url }}">{{ item }}</a>
{% endif %}
</li>
{% endfor %}
{% endif %}
</li>
{% endfor %}