Moved fragment metadata to the right.
[wolnelektury.git] / templates / catalogue / fragment_short.html
1 <div class="fragment">
2     {# <div class="change-sets"> #}
3     {#     <a href="{% url catalogue.views.fragment_sets fragment.id %}" class="jqm-trigger">Półki</a> #}
4     {# </div> #}
5     {% if fragment.short_text %}
6     <div class='fragment-short-text'>
7         {{ fragment.short_text|safe }}
8         <a href="#">↓ Rozwiń fragment ↓</a>
9     </div>
10     {% endif %}
11     <div class="fragment-text" {% if fragment.short_text %}style="display:none;"{% endif %}>
12         {{ fragment.text|safe }}
13         {% if fragment.short_text %}
14             <a href="#">↑ Zwiń fragment ↑</a>
15         {% endif %}
16     </div>
17     <div class="fragment-metadata">
18         <p><a href="{{ book.get_absolute_url }}">{{ book.title }}</a>, {{ book_authors|join:","|safe }}</p>
19     </div>
20     <div class="clearboth"></div>
21 </div>