Browse Source

Zrusena podminka user.is_staff

remotes/origin/vyslbez12
Jethro 9 years ago
parent
commit
09ffc9c27c
  1. 16
      seminar/templates/seminar/novinky.html

16
seminar/templates/seminar/novinky.html

@ -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%}

Loading…
Cancel
Save