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 {% if user_can_publish %}
50 <form method="post" action="{% url 'publish' audiobook.id %}">
52 <input type="submit" value="{% trans "Publish" %}" />
55 <a href="{% url 'apiclient_oauth' %}">Podłącz się</a>
58 {% if not audiobook.mp3_published or not audiobook.ogg_published %}
59 <form method="post" action="{% url 'convert' audiobook.id %}">
61 <input type="submit" value="{% trans "Convert without publishing" %}" />
70 {% if audiobook.mp3_file %}
71 <h2>{% trans "MP3 file" %}</h2>
72 <p><a href="{% url 'download' audiobook.id 'mp3' %}">{% trans "Download MP3 file." %}</a></p>
73 {% if audiobook.mp3_published %}
74 <p>{% trans "Published:" %} {{ audiobook.mp3_published }}</a></p>
75 {% if audiobook.mp3_published_tags.tags %}
76 {% tags_table audiobook.mp3_published_tags.tags %}
79 <p>{% trans "Not published yet." %}</p>
82 <p>{% trans "MP3 file hasn't been generated yet." %}</p>
86 {% if audiobook.ogg_file %}
87 <h2>{% trans "Ogg Vorbis file" %}</h2>
88 <p><a href="{% url 'download' audiobook.id 'ogg' %}">{% trans "Download Ogg Vorbis file." %}</a></p>
89 {% if audiobook.ogg_published %}
90 <p>{% trans "Published:" %} {{ audiobook.ogg_published }}</a></p>
91 {% if audiobook.ogg_published_tags.tags %}
92 {% tags_table audiobook.ogg_published_tags.tags %}
95 <p>{% trans "Not published yet." %}</p>
98 <p>{% trans "Ogg Vorbis file hasn't been generated yet." %}</p>
109 <h2>{% trans "Update tags" %}</h2>
111 Last modified: {{ audiobook.modified }}
113 {% multiple_tags_table tags %}
117 <form method='post' action='.'>
121 <td></td><td><input type="submit" value='{% trans "Commit" %}' /></td></td>
131 <form method="post" action="{% url 'remove_to_archive' audiobook.id %}"
132 onsubmit='return confirm("{% trans "Are you sure you want to move this audiobook to archive?" %}")'>
134 <input type="submit" value="{% trans "Remove to archive" %}" />