fix
[audio.git] / src / archive / templates / archive / list_publishing.html
1 {% extends "archive/list.html" %}
2 {% load i18n %}
3
4
5 {% block menu-active-publishing %}active{% endblock %}
6
7
8 {% block file-list-title %}
9     {% trans "Audiobooks being published" %}
10 {% endblock %}
11
12
13
14 {% block file-list-wrapper %}
15   {% for k, objects in status_objects %}
16     <h2>{{ k.1 }}</h2>
17     <table class="table">
18       {% for file in objects %}
19         <tr>
20           <td>
21             <a href='{% url "file" file.id %}'>
22               {{ file }}
23               {% if file.youtube_status == k.0 and file.youtube_volume %}
24                 <br>
25                 <small>
26                   ({{ file.youtube_volume_index }}/{{ file.youtube_volume_count }})
27                   {{ file.youtube_volume }}
28                 </small>
29               {% endif %}
30             </a>
31           </td>
32           <td class="text-warning">
33             {% if file.mp3_status == k.0 %}MP3{% endif %}
34           </td>
35           <td class="text-warning">
36             {% if file.ogg_status == k.0 %}Ogg{% endif %}
37           </td>
38           <td class="text-warning">
39             {% if file.youtube_status == k.0 %}YouTube{% endif %}
40           </td>
41         </tr>
42       {% endfor %}
43     </table>
44   {% endfor %}
45 {% endblock %}