1 {% extends "archive/base.html" %}
7 <p>Plik źródłowy: <a href='{% url download audiobook.id %}'>{{ 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>
46 {% tags_table audiobook.new_publish_tags 0 %}
49 <form method="post" action="{% url publish audiobook.id %}">
51 <input type="submit" value="{% trans "Publish" %}" />
54 {% if not audiobook.mp3_published or not audiobook.ogg_published %}
55 <form method="post" action="{% url convert audiobook.id %}">
57 <input type="submit" value="{% trans "Convert without publishing" %}" />
66 {% if audiobook.mp3_file %}
67 <h2>{% trans "MP3 file" %}</h2>
68 <p><a href="{% url download audiobook.id 'mp3' %}">{% trans "Download MP3 file." %}</a></p>
69 {% if audiobook.mp3_published %}
70 <p>{% trans "Published:" %} {{ audiobook.mp3_published }}</a></p>
71 {% if audiobook.mp3_published_tags.tags %}
72 {% tags_table audiobook.mp3_published_tags.tags %}
75 <p>{% trans "Not published yet." %}</p>
78 <p>{% trans "MP3 file hasn't been generated yet." %}</p>
82 {% if audiobook.ogg_file %}
83 <h2>{% trans "Ogg Vorbis file" %}</h2>
84 <p><a href="{% url download audiobook.id 'ogg' %}">{% trans "Download Ogg Vorbis file." %}</a></p>
85 {% if audiobook.ogg_published %}
86 <p>{% trans "Published:" %} {{ audiobook.ogg_published }}</a></p>
87 {% if audiobook.ogg_published_tags.tags %}
88 {% tags_table audiobook.ogg_published_tags.tags %}
91 <p>{% trans "Not published yet." %}</p>
94 <p>{% trans "Ogg Vorbis file hasn't been generated yet." %}</p>
105 <h2>{% trans "Update tags" %}</h2>
107 Last modified: {{ audiobook.modified }}
109 {% multiple_tags_table tags %}
113 <form method='post' action='.'>
117 <td></td><td><input type="submit" value='{% trans "Commit" %}' /></td></td>
127 <form method="post" action="{% url remove_to_archive audiobook.id %}"
128 onsubmit='return confirm("{% trans "Are you sure you want to move this audiobook to archive?" %}")'>
130 <input type="submit" value="{% trans "Remove to archive" %}" />