1 {% extends "base.html" %}
 
   2 {% load url from future %}
 
   3 {% load lesson_nav person_list from catalogue_tags %}
 
   4 {% load find_competence url_for_level from curriculum_tags %}
 
   7 {% block title %}{{ object }}{% endblock %}
 
  10     <!--h1>{{ object }}</h1-->
 
  14         <h1 class="realisation">Realizacja i czas lekcji</h1>
 
  15         {% if object.type == 'synthetic' %}
 
  16         <p>To lekcja jest syntezą tematu
 
  17         <strong>{{ object.section }}</strong></a>{% if object.level.slug = "liceum" %}
 
  18             (na poziomie zaawansowanym)
 
  21         <strong><a href="{% url 'catalogue_lessons' %}#{{ object.section.slug }}">pełny kurs</a></strong>
 
  24         <p>Czas trwania: 45 minut.</p>
 
  25         {% elif object.type == 'course' %}
 
  26         <p>Ta lekcja jest częścią tematu
 
  27         <a href="{{ object.section.get_absolute_url }}"><strong>{{ object.section }}</strong></a>{% if object.level.slug = "liceum" %}
 
  28             (na poziomie zaawansowanym)
 
  30         {% with object.get_syntetic as synth %}
 
  33         <strong><a href="{{ object.get_syntetic.get_absolute_url }}">lekcja syntetyczna</a></strong>
 
  38         <p>Czas trwania: 45 minut.</p>
 
  44     {% if object.package %}
 
  45         <section class="box-button"><a href="{{ object.package.url }}" class="dl-button">Pobierz całą lekcję</a></section>
 
  47     {% if object.student_package %}
 
  48         <section><a href="{{ object.student_package.url }}" class="dl-button">Pobierz lekcję w wersji dla ucznia</a></section>
 
  51     <section class="section">
 
  52         {% lesson_nav object %}
 
  55     {% if object.dc.competences %}
 
  56     <section class="section-minor">
 
  58         <ul class="link-list">
 
  59         {% for comp_text in object.dc.competences %}
 
  60             {% with comp_text|find_competence as competence %}
 
  62                 <li><a href="{{ competence|url_for_level:object.level }}">
 
  63                     {{ competence }}</a></li>
 
  73     <section class="section-micro">
 
  76         {% if object.dc.authors_textbook %}
 
  77         Tekst: {{ object.dc.authors_textbook|person_list }}<br/>
 
  79         {% if object.dc.authors_scenario %}
 
  80         Scenariusz: {{ object.dc.authors_scenario|person_list }}<br/>
 
  82         {% if object.dc.authors_expert %}
 
  83         Konsultacja merytoryczna: {{ object.dc.authors_expert|person_list }}<br/>
 
  85         Licencja: <a href="{{ object.dc.license }}">{{ object.dc.license_description }}</a>.</p>
 
  88     <section class="section-micro">
 
  90         <ul class="link-list">
 
  91             <li><a href="{{ object.xml_file.url }}">źródłowy plik XML</a></li>
 
  92             <!--li><a href="{{ object.dc.about }}">lekcja na Platformie Redakcyjnej</a></li-->
 
  96     <section class="section-micro">
 
  97         <p>{{ object.dc.description }}</p>
 
 103 {{ object.html_file.read|safe }}