1 {% extends "archive/base.html" %}
7 <p>Plik źródłowy: <a href='{{ audiobook.source_file.url }}'>{{ path }}</a>
8 (sha1: <tt>{{ audiobook.source_sha1 }}</tt>).
11 <h2>{% trans "Publishing" %}</h2>
13 {% if audiobook.mp3_status or audiobook.ogg_status %}
15 <h2>{% trans "Publishing pending" %}</h2>
17 <form method="post" action="{% url cancel_publishing audiobook.id %}">
19 <input type="submit" value="{% trans "Cancel publishing" %}" />
23 {% if audiobook.mp3_status %}
27 {% tags_table audiobook.mp3_tags.tags %}
29 <p>Status: <b>{{ audiobook.get_mp3_status_display }}</b></p>
32 {% if audiobook.ogg_status %}
36 {% tags_table audiobook.ogg_tags.tags %}
38 <p>Status: <b>{{ audiobook.get_ogg_status_display }}</b></p>
45 <form method="post" action="{% url publish audiobook.id %}">
47 {% tags_table audiobook.new_publish_tags 0 %}
50 <tr><th></th><td><input type="submit" value="{% trans "Publish" %}" /></td></tr>
56 {% if audiobook.mp3_published %}
57 <h2>Published MP3</h2>
58 <a href="{{ audiobook.mp3_file.url }}">{{ audiobook.mp3_published }}</a>
59 {% tags_table audiobook.mp3_published_tags.tags %}
60 {% else %}<p>MP3 file hasn't been published yet.</p>
64 {% if audiobook.ogg_published %}
65 <h2>Published Ogg Vorbis</h2>
66 <a href="{{ audiobook.ogg_file.url }}">{{ audiobook.ogg_published }}</a>
67 {% tags_table audiobook.ogg_published_tags.tags %}
68 {% else %}Ogg Vorbis file hasn't been published yet.
79 <h2>{% trans "Update tags" %}</h2>
81 Last modified: {{ audiobook.modified }}
83 {% multiple_tags_table tags %}
87 <form method='post' action='.'>
91 <td></td><td><input type="submit" value='{% trans "Commit" %}' /></td></td>
101 <form method="post" action="{% url remove_to_archive audiobook.id %}">
103 <input type="submit" value="{% trans "Remove to archive" %}" />