1 {% extends "base.html" %}
2 {% load lesson_link lesson_nav person_list from catalogue_tags %}
3 {% load competence curriculum url_for_level from curriculum_tags %}
6 {% block title %}{{ object }}{% endblock %}
9 <!--h1>{{ object }}</h1-->
12 {% block sidebar-top %}{% endblock %}
14 <section class="section">
15 {% lesson_nav object %}
18 {% if object.dc.relations %}
19 <section class="section-minor">
20 <h1>Powiązane lekcje</h1>
21 <ul class="link-list link-list-colored">
22 {% for uri in object.dc.relations %}
23 <li>{% lesson_link uri %}</li>
29 {% if object.dc.competences %}
30 <section class="section-minor">
33 {% competence object.dc.competences object.level %}
38 {% if object.dc.curriculum %}
39 <section class="section-minor">
40 <h1>Podstawa programowa:</h1>
42 {% curriculum object.dc.curriculum %}
47 <section class="section-micro">
50 {% if object.dc.authors_textbook %}
51 Tekst: {{ object.dc.authors_textbook|person_list }}<br/>
53 {% if object.dc.authors_scenario %}
54 Scenariusz: {{ object.dc.authors_scenario|person_list }}<br/>
56 {% if object.dc.authors_expert %}
57 Konsultacja merytoryczna: {{ object.dc.authors_expert|person_list }}<br/>
59 Licencja: <a href="{{ object.dc.license }}">{{ object.dc.license_description }}</a>.</p>
62 <section class="section-micro">
64 <ul class="link-list">
65 <li><a href="{{ object.xml_file.url }}">źródłowy plik XML</a></li>
66 <!--li><a href="{{ object.dc.about }}">lekcja na Platformie Redakcyjnej</a></li-->
70 <section class="section-micro">
71 <p>{{ object.dc.description }}</p>
78 {% block lesson-info %}
81 {{ object.html_file.read|safe }}
84 <a class="top-link" href="#">wróć na górę</a>
85 <footer class="lesson-footer">
87 {% if object.section %}
89 <p class="section-info"><a href="{{ object.section.get_absolute_url }}">Temat: {{ object.section }}</a>
90 <br/>(<a href="{% url 'catalogue_lessons' %}">spis wszystkich lekcji</a>)</p>
93 {% with object.get_previous as previous %}
95 <a class="previous-lesson" href="{{ previous.get_absolute_url }}">← {{ previous }}</a>
99 {% with object.get_next as next %}
101 <a class="next-lesson" href="{{ next.get_absolute_url }}">{{ next }} →</a>
107 <div class="clr"></div>
109 <p class="section-info">
110 {% block suggest-link %}
111 <a href="{% url 'contact_form' 'sugestie' %}?temat={{ 'Lekcja: '|add:object.title|urlencode }}">
112 Zgłoś swoją uwagę na temat tej lekcji.
120 {% if request.user.is_authenticated and object.forum_topics.all.count %}
123 {% for forum_topic in object.forum_topics.all %}
124 <li><a href="{{forum_topic.pybb_topic.get_absolute_url}}">{{forum_topic.pybb_topic.name}}</a></li>