1 {% extends "base.html" %}
2 {% load url from future %}
3 {% load lesson_link lesson_nav person_list from catalogue_tags %}
4 {% load competence curriculum url_for_level from curriculum_tags %}
7 {% block title %}{{ object }}{% endblock %}
10 <!--h1>{{ object }}</h1-->
13 {% block sidebar-top %}{% endblock %}
15 <section class="section">
16 {% lesson_nav object %}
19 {% if object.dc.relations %}
20 <section class="section-minor">
21 <h1>Powiązane lekcje</h1>
22 <ul class="link-list link-list-colored">
23 {% for uri in object.dc.relations %}
24 <li>{% lesson_link uri %}</li>
30 {% if object.dc.competences %}
31 <section class="section-minor">
34 {% competence object.dc.competences object.level %}
39 {% if object.dc.curriculum %}
40 <section class="section-minor">
41 <h1>Podstawa programowa:</h1>
43 {% curriculum object.dc.curriculum %}
48 <section class="section-micro">
51 {% if object.dc.authors_textbook %}
52 Tekst: {{ object.dc.authors_textbook|person_list }}<br/>
54 {% if object.dc.authors_scenario %}
55 Scenariusz: {{ object.dc.authors_scenario|person_list }}<br/>
57 {% if object.dc.authors_expert %}
58 Konsultacja merytoryczna: {{ object.dc.authors_expert|person_list }}<br/>
60 Licencja: <a href="{{ object.dc.license }}">{{ object.dc.license_description }}</a>.</p>
63 <section class="section-micro">
65 <ul class="link-list">
66 <li><a href="{{ object.xml_file.url }}">źródłowy plik XML</a></li>
67 <!--li><a href="{{ object.dc.about }}">lekcja na Platformie Redakcyjnej</a></li-->
71 <section class="section-micro">
72 <p>{{ object.dc.description }}</p>
78 {{ object.html_file.read|safe }}
81 <a class="top-link" href="#">wróć na górę</a>
82 <footer class="lesson-footer">
84 {% if object.section %}
86 <p class="section-info"><a href="{{ object.section.get_absolute_url }}">Temat: {{ object.section }}</a>
87 <br/>(<a href="{% url 'catalogue_lessons' %}">spis wszystkich lekcji</a>)</p>
90 {% with object.get_previous as previous %}
92 <a class="previous-lesson" href="{{ previous.get_absolute_url }}">← {{ previous }}</a>
96 {% with object.get_next as next %}
98 <a class="next-lesson" href="{{ next.get_absolute_url }}">{{ next }} →</a>
104 <div class="clr"></div>
106 <p class="section-info">
107 {% block suggest-link %}
108 <a href="{% url 'contact_form' 'sugestie' %}?temat={{ 'Lekcja: '|add:object.title|urlencode }}">
109 Zgłoś swoją uwagę na temat tej lekcji.