From: Radek Czajka Date: Wed, 26 Oct 2011 10:48:31 +0000 (+0200) Subject: add admin links X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/1afbdde3f6504b6e0505fd31a27c028ddc402f02?ds=sidebyside add admin links --- diff --git a/apps/archive/locale/pl/LC_MESSAGES/django.mo b/apps/archive/locale/pl/LC_MESSAGES/django.mo index 7248dac..aacb099 100644 Binary files a/apps/archive/locale/pl/LC_MESSAGES/django.mo and b/apps/archive/locale/pl/LC_MESSAGES/django.mo differ diff --git a/apps/archive/locale/pl/LC_MESSAGES/django.po b/apps/archive/locale/pl/LC_MESSAGES/django.po index 3cdd29f..e47b150 100644 --- a/apps/archive/locale/pl/LC_MESSAGES/django.po +++ b/apps/archive/locale/pl/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-10-26 12:43+0200\n" -"PO-Revision-Date: 2011-10-26 12:44+0100\n" +"POT-Creation-Date: 2011-10-26 12:47+0200\n" +"PO-Revision-Date: 2011-10-26 12:47+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -107,14 +107,18 @@ msgstr "Opublikowane" msgid "Archive" msgstr "Archiwum" -#: templates/archive/base.html:10 -msgid "Logout" -msgstr "Wyloguj" - #: templates/archive/base.html:11 msgid "Projects" msgstr "Projekty" +#: templates/archive/base.html:13 +msgid "Logout" +msgstr "Wyloguj" + +#: templates/archive/base.html:15 +msgid "Administration" +msgstr "Administracja" + #: templates/archive/file_managed.html:15 msgid "Publishing pending" msgstr "Czeka na publikację" diff --git a/apps/archive/templates/archive/base.html b/apps/archive/templates/archive/base.html index 4a82e68..5d28312 100644 --- a/apps/archive/templates/archive/base.html +++ b/apps/archive/templates/archive/base.html @@ -7,8 +7,13 @@ {% trans "Publishing" %} {% trans "Published" %} {% trans "Archive" %} + {% if user.is_staff %} + {% trans "Projects" %} + {% endif %} {% trans "Logout" %} - {% trans "Projects" %} + {% if user.is_staff %} + {% trans "Administration" %} + {% endif %} {{ user }}
{% endblock %}