new curriculum
[edumed.git] / catalogue / templates / catalogue / lesson / lesson_detail.html
index dfd844e..812cbc7 100755 (executable)
@@ -1,5 +1,4 @@
 {% extends "base.html" %}
-{% load url from future %}
 {% load lesson_link lesson_nav person_list from catalogue_tags %}
 {% load competence curriculum url_for_level from curriculum_tags %}
 
         <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 %}
 
@@ -57,6 +60,9 @@
         {% if object.dc.authors_expert %}
         Konsultacja merytoryczna: {{ object.dc.authors_expert|person_list }}<br/>
         {% endif %}
+        {% if object.dc.authors_methodologist %}
+        Konsultacja metodyczna: {{ object.dc.authors_methodologist|person_list }}<br/>
+        {% endif %}
         Licencja: <a href="{{ object.dc.license }}">{{ object.dc.license_description }}</a>.</p>
     </section>
 
 </aside>
 
 <div id="main-bar">
+
+{% block lesson-info %}
+{% endblock %}
+
 {{ object.html_file.read|safe }}
 
 
 </p>
 
 </footer>
+
+
+{% if request.user.is_authenticated and object.forum_topics.all.count %}
+    <h2>Na forum</h2>
+    <ul>
+    {% for forum_topic in object.forum_topics.all %}
+        <li><a href="{{forum_topic.pybb_topic.get_absolute_url}}">{{forum_topic.pybb_topic.name}}</a></li>
+    {% endfor %}
+    </ul>
+{% endif %}
+
 </div>
 
 {% endblock %}