b901ef0c4ad7e422d526c3b8b0dd4224d090ca88
[audio.git] / src / archive / templates / archive / list_unpublished.html
1 {% extends "archive/list.html" %}
2 {% load i18n %}
3
4
5 {% block file-list-title %}
6     {% trans "Unpublished audiobooks" %}
7 {% endblock %}
8
9
10 {% block file-list-info %}
11 {% endblock %}
12
13
14 {% block file-list %}
15     {% for file in objects %}
16         <li>
17             <a href='{% url "file" file.id %}'>{{ file }}</a>
18
19             {% if file.mp3_published %}
20                 <span class="list-published-tag" title="{{ file.mp3_published }}">MP3</span>
21             {% else %}{% if file.mp3_status %}
22                 <span class="list-publishing-tag" title="{{ file.get_mp3_status_display }}">MP3</span>
23             {% endif %}{% endif %}
24
25             {% if file.ogg_published %}
26                 <span class="list-published-tag" title="{{ file.ogg_published }}">Ogg</span>
27             {% else %}{% if file.ogg_status %}
28                 <span class="list-publishing-tag" title="{{ file.get_ogg_status_display }}">Ogg</span>
29             {% endif %}{% endif %}
30         </li>
31     {% endfor %}
32 {% endblock %}