X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/f2ed1449ece59c6247b8befc9ca6f423f7e4b004..9e7f72dcee48e4ced62061b559db75dcf9b79694:/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 old mode 100755 new mode 100644 index 498b27b..25a6b81 --- a/src/archive/templates/archive/file_managed.html +++ b/src/archive/templates/archive/file_managed.html @@ -1,139 +1,158 @@ {% extends "archive/base.html" %} {% load i18n %} {% load tags %} +{% load bootstrap4 %} {% block content %} -
Plik źródÅowy: {{ path }} -(sha1: {{ audiobook.source_sha1 }}). -
-Status: {{ audiobook.get_mp3_status_display }}
+ {% endif %} -{% if audiobook.mp3_status %} -Status: {{ audiobook.get_mp3_status_display }}
-{% endif %} - -{% if audiobook.ogg_status %} -Status: {{ audiobook.get_ogg_status_display }}
-{% endif %} + {% if audiobook.ogg_status %} +Status: {{ audiobook.get_ogg_status_display }}
+ {% endif %} + {% else %} -{% else %} -- {% if user_can_publish %} - - {% else %} - PodÅÄ cz siÄ - {% endif %} - - {% if not audiobook.mp3_published or not audiobook.ogg_published %} - + {% else %} + PodÅÄ cz siÄ + {% endif %} + + {% if not audiobook.mp3_published or not audiobook.ogg_published %} + {% endif %} + + |
{% trans "Download MP3 file." %}
- {% if audiobook.mp3_published %} -{% trans "Published:" %} {{ audiobook.mp3_published }}
- {% if audiobook.mp3_published_tags.tags %} - {% tags_table audiobook.mp3_published_tags.tags %} - {% endif %} - {% else %} -{% trans "Not published yet." %}
+{% 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.ogg_published_tags.tags %} - {% tags_table audiobook.ogg_published_tags.tags %} +{% 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 %} - {% else %} -{% trans "Not published yet." %}
- {% endif %} -{% else %} -{% trans "Ogg Vorbis 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 %} +Last modified: {{ audiobook.modified }}
+Plik źródÅowy: {{ path }} + (sha1: {{ audiobook.source_sha1 }}). +
+ {% multiple_tags_table tags %} + + + +