some frontend changes
[edumed.git] / catalogue / templates / catalogue / lesson_detail.html
1 {% extends "base.html" %}
2 {% load url from future %}
3
4 {% block title %}{{ object }}{% endblock %}
5
6 {% block body %}
7     <!--h1>{{ object }}</h1-->
8
9 <aside id="sidebar">
10     <section class="box">
11         <h1 class="realisation">Realizacja i czas lekcji</h1>
12         {% if object.depth == 0 %}
13         <p>To lekcja jest syntezą działu
14         <strong>{{ object.section }}</strong>.
15         Dostępny jest również
16         <strong><a href="{% url 'catalogue_lessons' %}#{{ object.section.slug }}">szczegółowy kurs</a></strong>
17         dla tego działu.
18         </p>
19         {% else %}
20         <p>Ta lekcja jest częścią działu
21         <strong>{{ object.section }}</strong>.
22         Dostępna jest również
23         <strong><a href="">lekcja syntetyczna</a></strong>
24         dla tego działu.
25         </p>
26         {% endif %}
27         <p>Czas trwania: 45 minut.</p>
28     </section>
29     <section class="box-button"><a href="" class="dl-button">Pobierz całą lekcję</a></section>
30     <section><a href="" class="dl-button">Pobierz lekcję w wersji dla ucznia</a></section>
31     <section class="section">
32         <h1>Korzystanie z informacji</h1>
33     </section>
34 </aside>
35
36 <div id="main-bar">
37 {{ object.html_file.read|safe }}
38 </div>
39
40 {% endblock %}