From 09ffc9c27cb3584a8fa65f5569e35fe9b62ee181 Mon Sep 17 00:00:00 2001 From: Jethro Date: Sat, 12 Sep 2015 16:23:40 +0200 Subject: [PATCH] Zrusena podminka user.is_staff --- seminar/templates/seminar/novinky.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/seminar/templates/seminar/novinky.html b/seminar/templates/seminar/novinky.html index 4d858ca2..c13407f5 100644 --- a/seminar/templates/seminar/novinky.html +++ b/seminar/templates/seminar/novinky.html @@ -19,15 +19,13 @@ {% endif %} {# autor #} - {% if user.is_staff %} -

{{novinka.autor.first_name}} - {% if novinka.autor.organizator.prezdivka%} - „{{novinka.autor.organizator.prezdivka}}“ - {% endif %} - {{novinka.autor.last_name}} -

-
- {% endif %} +

{{novinka.autor.first_name}} + {% if novinka.autor.organizator.prezdivka%} + „{{novinka.autor.organizator.prezdivka}}“ + {% endif %} + {{novinka.autor.last_name}} +

+
{% endfor%}