map
[wolnelektury.git] / src / references / templates / references / popup.html
1 {% load thumbnail %}
2 <h2 class="header">{{ entity.label }}</h2>
3
4 <div class="l-popup-books">
5 {% for ref in entity.reference_set.all %}
6   <a href='/katalog/lektura/{{ ref.book.slug }}.html#{{ ref.first_section }}' target="_blank">
7     {% thumbnail ref.book.cover_clean '150x150' as th %}
8     <img src="{{ th.url }}" alt="{{ ref.book.pretty_title }}" title="{{ ref.book.pretty_title }}">
9     {% endthumbnail %}
10   </a>
11 {% endfor %}