Prepared for SP 4-6.
[edumed.git] / catalogue / templates / catalogue / snippets / levels_main.html
1 {% load i18n %}
2 <style type="text/css">
3 #main-sections ul li {width: {{ section_width }}px;}
4 #main-sections ul li a {width: {{ section_width|add:"-10" }}px;}
5 .levelth {width: {{ section_width }}px;}
6 </style>
7 {% url 'catalogue_lessons' as les %}
8 <ul class="section-buttons">
9 {% for level in object_list %}
10 <li class="box{{ level.pk }}">
11     <a href="{{ les }}#{{ level.slug }}">
12     <span class="in-box">
13     <span class="name">{{ level }}</span>
14     {{ level.length_synthetic }} lub {{ level.length_course }} godzin
15     </span>
16     </a>
17 </li>
18 {% endfor %}
19 </ul>