X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/9e7f72dcee48e4ced62061b559db75dcf9b79694..10ee4271e2cb35c585726a1c306e6c4ef561b257:/src/archive/templates/archive/file_managed.html diff --git a/src/archive/templates/archive/file_managed.html b/src/archive/templates/archive/file_managed.html index 25a6b81..c4e2a57 100644 --- a/src/archive/templates/archive/file_managed.html +++ b/src/archive/templates/archive/file_managed.html @@ -3,156 +3,242 @@ {% load tags %} {% load bootstrap4 %} + +{% block menu-active-audiobooks %}active{% endblock %} + + {% block content %} +{% for alert in alerts %} +
Status: {{ audiobook.get_mp3_status_display }}
- {% endif %} - {% if audiobook.ogg_status %} -Status: {{ audiobook.get_ogg_status_display }}
- {% endif %} - {% else %} -
- {% if user_can_publish %}
-
- {% else %}
- PodÅÄ
cz siÄ
- {% endif %}
- {% if not audiobook.mp3_published or not audiobook.ogg_published %}
-
- {% endif %}
-
-
+
- |
Status: {{ audiobook.get_mp3_status_display }}
+ {% endif %} + + {% if audiobook.ogg_status %} +Status: {{ audiobook.get_ogg_status_display }}
+ {% endif %} + + {% if audiobook.mp3_file %}{% trans "Download MP3 file." %}
{% if audiobook.mp3_published %}{% trans "Published:" %} {{ audiobook.mp3_published }}
- {% if audiobook.get_mp3_published_tags.tags %} - {% tags_table audiobook.get_mp3_published_tags.tags %} - {% endif %} {% else %}{% trans "Not published yet." %}
{% endif %} {% else %}{% trans "MP3 file hasn't been generated yet." %}
{% endif %} -{% trans "Download Ogg Vorbis file." %}
{% if audiobook.ogg_published %}{% trans "Published:" %} {{ audiobook.ogg_published }}
- {% if audiobook.get_ogg_published_tags.tags %} - {% tags_table audiobook.get_ogg_published_tags.tags %} - {% endif %} {% else %}{% trans "Not published yet." %}
{% endif %} {% else %}{% trans "Ogg Vorbis file hasn't been generated yet." %}
{% endif %} + + {% if user_can_publish %} + + {% else %} + PodÅÄ cz siÄ + {% endif %} + + {% if not audiobook.mp3_published or not audiobook.ogg_published %} + + {% endif %} + +Last modified: {{ audiobook.modified }}
-Plik źródÅowy: {{ path }} - (sha1: {{ audiobook.source_sha1 }}). -
- {% multiple_tags_table tags %} + + {{ youtube_title }}+ + {% trans "Preview YouTube metadata" %} + +
- +Last modified: {{ audiobook.modified }}
+Plik źródÅowy: {{ path }} + (sha1: {{ audiobook.source_sha1 }}). +
+ {% multiple_tags_table tags %}