X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/82a29bd6e0f7da1aa759d7f4481e6cf3c736f981..6b9d2a8ea0a58826f0f30f135a3f7d065b3bb435:/apps/archive/templates/archive/file_managed.html diff --git a/apps/archive/templates/archive/file_managed.html b/apps/archive/templates/archive/file_managed.html index 01847a6..8917243 100755 --- a/apps/archive/templates/archive/file_managed.html +++ b/apps/archive/templates/archive/file_managed.html @@ -4,7 +4,7 @@ {% block content %} -

Plik źródłowy: {{ path }} +

Plik źródłowy: {{ path }} (sha1: {{ audiobook.source_sha1 }}).

@@ -14,7 +14,7 @@

{% trans "Publishing pending" %}

-
+ {% csrf_token %}
@@ -46,13 +46,13 @@ {% tags_table audiobook.new_publish_tags 0 %} -
+ {% csrf_token %}
{% if not audiobook.mp3_published or not audiobook.ogg_published %} -
+ {% csrf_token %}
@@ -65,10 +65,12 @@
{% if audiobook.mp3_file %}

{% trans "MP3 file" %}

-

{% trans "Download MP3 file." %}

+

{% trans "Download MP3 file." %}

{% if audiobook.mp3_published %}

{% trans "Published:" %} {{ audiobook.mp3_published }}

- {% tags_table audiobook.mp3_published_tags.tags %} + {% if audiobook.mp3_published_tags.tags %} + {% tags_table audiobook.mp3_published_tags.tags %} + {% endif %} {% else %}

{% trans "Not published yet." %}

{% endif %} @@ -79,10 +81,12 @@
{% if audiobook.ogg_file %}

{% trans "Ogg Vorbis file" %}

-

{% trans "Download Ogg Vorbis file." %}

+

{% trans "Download Ogg Vorbis file." %}

{% if audiobook.ogg_published %}

{% trans "Published:" %} {{ audiobook.ogg_published }}

- {% tags_table audiobook.ogg_published_tags.tags %} + {% if audiobook.ogg_published_tags.tags %} + {% tags_table audiobook.ogg_published_tags.tags %} + {% endif %} {% else %}

{% trans "Not published yet." %}

{% endif %} @@ -120,7 +124,7 @@ Last modified: {{ audiobook.modified }} -
{% csrf_token %}