Zrusena podminka user.is_staff

This commit is contained in:
Jethro 2015-09-12 16:23:40 +02:00
parent 55a62a5647
commit 09ffc9c27c

View file

@ -19,15 +19,13 @@
</div>
{% endif %}
{# autor #}
{% if user.is_staff %}
<div class=novinky_name><p>{{novinka.autor.first_name}}
{% if novinka.autor.organizator.prezdivka%}
&bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo;
{% endif %}
{{novinka.autor.last_name}}
</p>
</div>
{% endif %}
<div class=novinky_name><p>{{novinka.autor.first_name}}
{% if novinka.autor.organizator.prezdivka%}
&bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo;
{% endif %}
{{novinka.autor.last_name}}
</p>
</div>
</div>
{% endfor%}