1 {% extends "archive/base.html" %}
7 <h2>{% trans "Publishing" %}</h2>
9 {% if audiobook.mp3_status or audiobook.ogg_status %}
11 <h2>{% trans "Publishing pending" %}</h2>
13 <form method="post" action="{% url cancel_publishing audiobook.id %}">
15 <input type="submit" value="{% trans "Cancel publishing" %}" />
19 {% if audiobook.mp3_status %}
23 {% tags_table audiobook.mp3_tags.tags %}
25 <p>Status: <b>{{ audiobook.get_mp3_status_display }}</b></p>
28 {% if audiobook.ogg_status %}
32 {% tags_table audiobook.ogg_tags.tags %}
34 <p>Status: <b>{{ audiobook.get_ogg_status_display }}</b></p>
41 <form method="post" action="{% url publish audiobook.id %}">
43 {% tags_table audiobook.new_publish_tags 0 %}
46 <tr><th></th><td><input type="submit" value="{% trans "Publish" %}" /></td></tr>
52 {% if audiobook.mp3_published %}
53 <h2>Published MP3</h2>
54 <a href="{{ audiobook.mp3_file.url }}">{{ audiobook.mp3_published }}</a>
55 {% tags_table audiobook.mp3_published_tags.tags %}
56 {% else %}<p>MP3 file hasn't been published yet.</p>
60 {% if audiobook.ogg_published %}
61 <h2>Published Ogg Vorbis</h2>
62 <a href="{{ audiobook.ogg_file.url }}">{{ audiobook.ogg_published }}</a>
63 {% tags_table audiobook.ogg_published_tags.tags %}
64 {% else %}Ogg Vorbis file hasn't been published yet.
75 <h2>{% trans "Update tags" %}</h2>
77 Last modified: {{ audiobook.modified }}
79 {% multiple_tags_table tags %}
83 <form method='post' action='.'>
87 <td></td><td><input type="submit" value='{% trans "Commit" %}' /></td></td>