{% 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 %}
{% 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 }}
{% endif %}
<div class="clr"></div>
+
+<p class="section-info">
+ {% block suggest-link %}
+ <a href="{% url 'contact_form' 'sugestie' %}?temat={{ 'Lekcja: '|add:object.title|urlencode }}">
+ Zgłoś swoją uwagę na temat tej lekcji.
+ </a>
+ {% endblock %}
+</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 %}