d51b66b04f3bc2c35e37e22e0eb9cccd543df819
[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     <tr>
17       <td>
18         <a href='{% url "file" file.id %}'>{{ file }}</a>
19       </td>
20       <td>
21         {% if file.mp3_published %}
22           <span class="text-success" title="{{ file.mp3_published }}">MP3</span>
23         {% else %}
24           {% if file.mp3_status %}
25             <span class="text-warning" title="{{ file.get_mp3_status_display }}">MP3</span>
26           {% endif %}
27             {% endif %}
28       </td>
29       <td>
30         {% if file.ogg_published %}
31           <span class="text-success" title="{{ file.ogg_published }}">Ogg</span>
32         {% else %}
33           {% if file.ogg_status %}
34             <span class="text-warning" title="{{ file.get_ogg_status_display }}">Ogg</span>
35           {% endif %}
36         {% endif %}
37       </td>
38     </tr>
39   {% endfor %}
40 {% endblock %}