2 {% load catalogue_tags %}
4 {% if fragment.short_text %}
5 <div class='fragment-short-text'>
6 {{ fragment.short_text|safe }}
7 <a href="#">↓ {% trans "Expand fragment" %} ↓</a>
10 <div class="fragment-text" {% if fragment.short_text %}style="display:none;"{% endif %}>
11 {{ fragment.text|safe }}
12 {% if fragment.short_text %}
13 <a href="#">↑ {% trans "Hide fragment" %} ↑</a>
16 <div class="fragment-metadata">
17 <p>{% book_title_html fragment.book %}
18 <a href="{{ fragment.get_absolute_url }}">({% trans "See in a book" %})</a></p>
20 <div class="clearboth"></div>