diff --git a/seminar/templates/seminar/novinky.html b/seminar/templates/seminar/novinky.html index f7aa8dfd..0ac99356 100644 --- a/seminar/templates/seminar/novinky.html +++ b/seminar/templates/seminar/novinky.html @@ -1,10 +1,10 @@ {% for novinka in object_list %} {# pripravene div-y na stylovani#}
- {% if not novinka.zverejneno and user.is_authenticated %} + {% if not novinka.zverejneno and user.is_staff %}
{% endif %} - {% if novinka.zverejneno or user.is_authenticated %} + {% if novinka.zverejneno or user.is_staff %} {# datum #}
{{novinka.datum}}
{# text #} @@ -30,7 +30,7 @@

{% endif %} - {% if not novinka.zverejneno and user.is_authenticated %} + {% if not novinka.zverejneno and user.is_staff %}
{% endif %}