mark submissions with opened links
[edumed.git] / catalogue / templates / catalogue / snippets / level_box.html
index bb2fa12..3155cce 100755 (executable)
             </li>
             {% endif %}
             {% if lessons.project %}
-            <li><a href="#{{ level.slug }}_projekt">Projekt</a></li>
+            <li><a href="#{{ level.slug }}_projekty">Projekty</a></li>
             {% endif %}
             {% if lessons.appendix %}
             <li><a href="#{{ level.slug }}_pozostale">Pozostałe materiały</a></li>
             {% endif %}
 
             {% if courses %}
-            <li class="curriculumcourses"><a href="#{{ level.slug }}_podstawa">Wg postawy programowej</a>
+            <li class="curriculumcourses"><a href="#{{ level.slug }}_podstawa">Według postawy programowej</a>
                 <ul style="list-style: none; padding: 0 0 0 1em; margin: 0;">
                 {% for course, lessons in courses %}
                         <li><a href="#{{ level.slug }}_{{ course.slug}}">{{ course }}</a></li>
                 </ul>
             </li>
             {% endif %}
+
+            {% if added %}
+            <li class="curriculumcourses"><a href="#{{ level.slug }}_inne">Inne</a>
+                <ul style="list-style: none; padding: 0 0 0 1em; margin: 0;">
+                {% for item in added %}
+                    <li><a href="#{{ level.slug }}_{{ item.slug }}">{{ item.title }}</a></li>
+                {% endfor %}
+                </ul>
+            </li>
+            {% endif %}
+
         </ul>
+
+
     </section>
 
 
+
     <h1>{{ level }}</h1>
 
     <section class="box-button button"><a href="{{ level.package.url }}" class="dl-button">Pobierz wszystkie lekcje</a></section>
@@ -78,8 +92,8 @@
 
 
     {% if lessons.project %}
-    <section id="{{ level.slug }}_projekt">
-        <h1>Projekt</h1>
+    <section id="{{ level.slug }}_projekty">
+        <h1>Projekty</h1>
 
         <p>Masz 4-6 tygodni? Zrealizuj jeden z projektów ze swoimi uczniami.</p>
 
 
     {% if courses %}
     <section id="{{ level.slug }}_podstawa">
-        <h1>Wg podstawy programowej</h1>
+        <h1>Według podstawy programowej</h1>
 
         {% for course, lessons in courses %}
         <section id="{{ level.slug}}_{{ course.slug }}">
 
             {% if lessons.project %}
             <section>
-                <h1>Projekt</h1>
+                <h1>Projekty</h1>
                 <ul class="link-list">
                     {% for lesson in lessons.project %}
                         <li>{% include "catalogue/snippets/lesson_or_stub.html" %}</li>
     </section>
     {% endif %}
 
+
+    {% if added %}
+    <section id="{{ level.slug }}_inne">
+        <h1>Inne</h1>
+
+        {% for item in added %}
+        <section id="{{ level.slug }}_{{ item.slug }}">
+            <h1>{{ item.title }}</h1>
+
+            <ul class="link-list">
+                {% for lesson in item.lessons %}
+                    <li><a href="{{ lesson.get_absolute_url }}" title="{{ lesson.description }}">{{ lesson }}</a></li>
+                {% endfor %}
+            </ul>
+        </section>
+        {% endfor %}
+    </section>
+    {% endif %}
+
+
 </section>