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 {% tags_table audiobook.mp3_published_tags.tags %}
73 <p>{% trans "Not published yet." %}</p>
76 <p>{% trans "MP3 file hasn't been generated yet." %}</p>
80 {% if audiobook.ogg_file %}
81 <h2>{% trans "Ogg Vorbis file" %}</h2>
82 <p><a href="{% url download audiobook.id 'ogg' %}">{% trans "Download Ogg Vorbis file." %}</a></p>
83 {% if audiobook.ogg_published %}
84 <p>{% trans "Published:" %} {{ audiobook.ogg_published }}</a></p>
85 {% tags_table audiobook.ogg_published_tags.tags %}
87 <p>{% trans "Not published yet." %}</p>
90 <p>{% trans "Ogg Vorbis file hasn't been generated yet." %}</p>
101 <h2>{% trans "Update tags" %}</h2>
103 Last modified: {{ audiobook.modified }}
105 {% multiple_tags_table tags %}
109 <form method='post' action='.'>
113 <td></td><td><input type="submit" value='{% trans "Commit" %}' /></td></td>
123 <form method="post" action="{% url remove_to_archive audiobook.id %}"
124 onsubmit='return confirm("{% trans "Are you sure you want to move this audiobook to archive?" %}")'>
126 <input type="submit" value="{% trans "Remove to archive" %}" />