2 {% load book_title_html from catalogue_tags %}
4 <div class="cite {% if fragment.short_text %}fragment-with-short{% endif %}">
5 {% if fragment.short_text %}
6 <div class="fragment-short-text">
7 <blockquote class="cite-body">
8 <a href="{{ fragment.get_absolute_url }}" class="fragment">
9 {{ fragment.short_text|safe }}
12 <a href="#" class="toggle mono">↓ {% trans "Expand fragment" %} ↓</a>
15 <div class="fragment-long-text" {% if fragment.short_text %}style="display:none;"{% endif %}>
16 <blockquote class="cite-body fragment-text">
17 <a href="{{ fragment.get_absolute_url }}" class="fragment">
18 {{ fragment.text|safe }}
21 {% if fragment.short_text %}
22 <a href="#" class="toggle mono">↑ {% trans "Hide fragment" %} ↑</a>
25 <p class="mono source">{% book_title_html fragment.book %}</p>