ignore comments in xml when indexing; make-xml-zip script
[wolnelektury.git] / wolnelektury / templates / picture / picture_short.html
1 {% load i18n %}
2 {% load thumbnail %}
3 <div class="picture-box">
4 <div class="picture-box-inner">
5     <a href="{{ picture.get_absolute_url }}">
6       {% thumbnail picture.image_file "216x288" as thumb %}
7       <img src="{{thumb.url}}"/>
8       {% endthumbnail %}
9     </a>
10     <div class="picture-box-body">
11         <div class="picture-box-head">
12             <div class="mono author">
13             {% for author in tags.author %}
14                 {{ author }}
15             {% endfor %}
16             </div>
17             <div class="title">{{ picture.title }}</div>
18         </div>
19         <div class="tags">
20             {% spaceless %}
21
22             <span class="mono">{% trans "Epoch" %}:&nbsp;</span>
23             <span class="picture-box-tag">
24                 {% for tag in tags.epoch %}
25                     <a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>
26                 {% endfor %}
27             </span>
28
29             <span class="mono">{% trans "Kind" %}:&nbsp;</span>
30             <span class="picture-box-tag">
31                 {% for tag in tags.kind %}
32                     <a href="{{ tag.get_absolute_url }}">{{ tag.name }} </a>
33                 {% endfor %}
34             </span>
35
36             {% endspaceless %}
37         </div>
38     </div>
39     <ul class="picture-box-tools">
40     </ul>
41 </div>
42 </div>