Zrusena podminka user.is_staff
This commit is contained in:
parent
55a62a5647
commit
09ffc9c27c
1 changed files with 7 additions and 9 deletions
|
@ -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%}
|
||||
„{{novinka.autor.organizator.prezdivka}}“
|
||||
{% endif %}
|
||||
{{novinka.autor.last_name}}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class=novinky_name><p>{{novinka.autor.first_name}}
|
||||
{% if novinka.autor.organizator.prezdivka%}
|
||||
„{{novinka.autor.organizator.prezdivka}}“
|
||||
{% endif %}
|
||||
{{novinka.autor.last_name}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor%}
|
||||
|
||||
|
|
Loading…
Reference in a new issue