From: Radek Czajka Date: Thu, 1 Aug 2013 09:48:37 +0000 (+0200) Subject: Django 1.5 X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/3bb77aad08a5558125b1cc80a599135d0e68eeda?ds=inline;hp=a3bff3a1ab98b4d4334901b906d602a5d1f0417a Django 1.5 --- diff --git a/apps/archive/templates/archive/base.html b/apps/archive/templates/archive/base.html index 575cf8e..8ec34e9 100644 --- a/apps/archive/templates/archive/base.html +++ b/apps/archive/templates/archive/base.html @@ -2,21 +2,21 @@ {% load i18n %} {% block repo-zones-nav %} - {% trans "New" %} - {% trans "Unpublished" %} - {% trans "Publishing" %} - {% trans "Published" %} - {% trans "Archive" %} + {% trans "New" %} + {% trans "Unpublished" %} + {% trans "Publishing" %} + {% trans "Published" %} + {% trans "Archive" %} {% if user.is_staff %} - {% trans "Projects" %} + {% trans "Projects" %} {% endif %} {% if user.is_authenticated %} - {% trans "Logout" %} + {% trans "Logout" %} {% else %} - {% trans "Login" %} + {% trans "Login" %} {% endif %} {% if user.is_staff %} - {% trans "Administration" %} + {% trans "Administration" %} {% endif %} {% if user.is_authenticated %} {{ user }} diff --git a/apps/archive/templates/archive/file_managed.html b/apps/archive/templates/archive/file_managed.html index 58f45ef..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,7 +65,7 @@
{% if audiobook.mp3_file %}

{% trans "MP3 file" %}

-

{% trans "Download MP3 file." %}

+

{% trans "Download MP3 file." %}

{% if audiobook.mp3_published %}

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

{% if audiobook.mp3_published_tags.tags %} @@ -81,7 +81,7 @@
{% 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 }}

{% if audiobook.ogg_published_tags.tags %} @@ -124,7 +124,7 @@ Last modified: {{ audiobook.modified }} -
{% csrf_token %} diff --git a/apps/archive/templates/archive/file_new.html b/apps/archive/templates/archive/file_new.html index 466c576..acc161d 100644 --- a/apps/archive/templates/archive/file_new.html +++ b/apps/archive/templates/archive/file_new.html @@ -3,7 +3,7 @@ {% block content %} - + {% csrf_token %}
diff --git a/apps/archive/templates/archive/file_unmanaged.html b/apps/archive/templates/archive/file_unmanaged.html index addd28e..89f79ba 100755 --- a/apps/archive/templates/archive/file_unmanaged.html +++ b/apps/archive/templates/archive/file_unmanaged.html @@ -23,7 +23,7 @@ -
+ {% csrf_token %}
diff --git a/apps/archive/templates/archive/list_new.html b/apps/archive/templates/archive/list_new.html index 459593b..fabf446 100644 --- a/apps/archive/templates/archive/list_new.html +++ b/apps/archive/templates/archive/list_new.html @@ -16,7 +16,7 @@ {% block file-list %} {% for file in objects %}
  • - {{ file }} + {{ file }}
  • {% endfor %} {% endblock %} diff --git a/apps/archive/templates/archive/list_published.html b/apps/archive/templates/archive/list_published.html index 6bbec9b..5e61ba1 100755 --- a/apps/archive/templates/archive/list_published.html +++ b/apps/archive/templates/archive/list_published.html @@ -14,7 +14,7 @@ {% block file-list %} {% for file in objects %}
  • - {{ file }} + {{ file }}
  • {% endfor %} {% endblock %} diff --git a/apps/archive/templates/archive/list_publishing.html b/apps/archive/templates/archive/list_publishing.html index 501b94c..6bcf9e0 100755 --- a/apps/archive/templates/archive/list_publishing.html +++ b/apps/archive/templates/archive/list_publishing.html @@ -14,7 +14,7 @@