<ul class="plain">
{% curriculum object.dc.curriculum %}
</ul>
+ <h1>Nowa podstawa programowa:</h1>
+ <ul class="plain">
+ {% curriculum object.dc.curriculum_new new=True %}
+ </ul>
</section>
{% endif %}
{% if currset %}
{% for what, types in currset.items %}
<li>
- {{ what.0 }}, {{ what.1 }} poziom edukacyjny<br/>
+ {{ what.0 }}, {{ what.1 }} {% if new %}klasa{% else %}poziom edukacyjny{% endif %}<br/>
{% for type, currs in types.items %}
{{ type }}:<br>
{% for curr in currs %}
@register.inclusion_tag("curriculum/snippets/curriculum.html")
-def curriculum(identifiers):
+def curriculum(identifiers, new=False):
# shouldn't be needed, but is
identifiers = [id for id in identifiers if id]
try:
return {
'currset': currset,
+ 'new': new,
}
-Subproject commit 6c528bcbd5a184387bbb30500b67caef8a21889d
+Subproject commit 482477cced586463d7f342cdde8482a4d97d7685