From 1afbdde3f6504b6e0505fd31a27c028ddc402f02 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 26 Oct 2011 12:48:31 +0200 Subject: [PATCH] add admin links --- apps/archive/locale/pl/LC_MESSAGES/django.mo | Bin 2480 -> 2525 bytes apps/archive/locale/pl/LC_MESSAGES/django.po | 16 ++++++++++------ apps/archive/templates/archive/base.html | 7 ++++++- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/apps/archive/locale/pl/LC_MESSAGES/django.mo b/apps/archive/locale/pl/LC_MESSAGES/django.mo index 7248dac5afa105aa9464cea109db1356ba3aa5a9..aacb099dff9ad52df916eba14852eb92b53fa46f 100644 GIT binary patch delta 999 zcmZA0KS&%w6vy#*>%Y5b{Bx(#81*h18Sm1kCp+gOBqScwN%i>FwDzp)U#e6uh{unD7BfE}puE-b?oGS9a@E|_Z* zs6=Vh0v}Nc=P`l{sKjgd0JkuT0Y1hbsEu5p=3P2(T))RIis`S!N0`Xn`({ZlG$DoB zVJ|A-D^#Lk)P`QW{&&clHs{8D)ci%%?^aQXHju+MIcc38JfymN_>lWKCWXmwpSaKy ztY8AOs3$u@P5g=4&@VTBg&bBzHd&8V*o;rG6SctsRH=uN!!n$-&McOokA5{5OI#?? zS5%3=p%(g%xstl^OXn>rVVKp*u>tk_7pR22$YDdARM81{pF!pMfU3ZJg!j){woHe1 zyzU0Rpq?y?8V^v3_E8HSyZ#fTqEC#0w?Yt_xa1$sk_X9V)pWADbKv28;T= EKV*te5&!@I delta 959 zcmYk*Jxmlq7=Yo~JG>K+A2|j50Z%+djL`xL6N7}tpjH|hLjgI@M7-ksw=rB|VWiOl ziBbs_jRo-%I|~Y9Vx_Sp+RzXyh%vGBeUC9=a}Z$|v;q2I zdMOFvJibeDpuI_lki`Yuhf8=6Kj2>ch8bMP-S`WS;cwi9T@Bm!d$5h`0{Yw#GNl?W za?;AcWpsh-Xuu*i;%zkW18l-s?7&xe0GH7PSJCIbN7v%`IyN)@2RkugS6+8xmiVE- zi5Z+m0}i5rhS3d;#qq1i8et;dpF#tc(RugLg`Xh5@SKC|yuekex`57`;2}3&!aVWA z3@2vv7JcA7x{;4gz|Y7pY(zJ4Ki7Zp5Vo?a8#{%T_$(S|goEph;U2t(T{wxxd5l#{ z`;-$GdX1K{7AJg)enkVWVLNW2^HZ#Dz+N=a84gzRT)ZAZ16{%v97i4vMRddEM(Xd4 zI}DiNOq}ox4fGOSa50WABbBUYVF{h%x6@B|<0t4gv-SHuPB+0k-Ho24+pMn_qCB19NxNxhhdZH{D!%=x){j3NN(&#&hU@g6}yL=+x~ztYBTqvbW{7^ vtV_L(-n(&Y`q9lW`mi)zDOM`weC&)~gL$wQ;;iNX39Z&rORkKHe 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 %} -- 2.20.1