X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/eee35e00bf0d0eb3d2a9f08f72c7052962fecbf6..201dd39ec21858e2b4e82dc7bed4bf6aea0262cb:/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 8917243..813ca46 --- a/src/archive/templates/archive/file_managed.html +++ b/src/archive/templates/archive/file_managed.html @@ -1,135 +1,244 @@ {% extends "archive/base.html" %} {% load i18n %} {% load tags %} +{% load bootstrap4 %} + + +{% block menu-active-audiobooks %}active{% endblock %} + {% block content %} -
Plik źródÅowy: {{ path }} -(sha1: {{ audiobook.source_sha1 }}). -
-Status: {{ audiobook.get_mp3_status_display }}
-{% endif %} -{% if audiobook.ogg_status %} -Status: {{ audiobook.get_ogg_status_display }}
-{% endif %} +
+ {% if audiobook.is_youtube_publishable %}
+ + - |
{% 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 %} +{% 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.ogg_published_tags.tags %} - {% tags_table audiobook.ogg_published_tags.tags %} + +{% trans "Ogg Vorbis file hasn't been generated yet." %}
-{% endif %} +Status: {{ audiobook.get_mp3_status_display }}
+ {% endif %} -Status: {{ audiobook.get_ogg_status_display }}
+ {% endif %} + + + {% if audiobook.mp3_file %} +{% trans "Download MP3 file." %}
+ {% if audiobook.mp3_published %} +{% trans "Published:" %} {{ audiobook.mp3_published }}
+ {% else %} +{% trans "Not published yet." %}
+ {% endif %} + {% else %} +{% trans "MP3 file hasn't been generated yet." %}
+ {% endif %} + + {% if audiobook.ogg_file %} +{% trans "Download Ogg Vorbis file." %}
+ {% if audiobook.ogg_published %} +{% trans "Published:" %} {{ audiobook.ogg_published }}
+ {% else %} +{% trans "Not published yet." %}
+ {% endif %} + {% else %} +{% trans "Ogg Vorbis file hasn't been generated yet." %}
+ {% endif %} + {% if user_can_publish %} +- |
Last modified: {{ audiobook.modified }}
+Plik źródÅowy: {{ path }} + (sha1: {{ audiobook.source_sha1 }}). +
+ {% multiple_tags_table tags %} ++ JeÅli ten plik nie jest potrzebny, możesz usunÄ Ä informacje o nim z systemu, + zachowujÄ c go tylko w postaci samego źródÅowego pliku. +
+ + +