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> </div>
{% endif %} {% endif %}
{# autor #} {# autor #}
{% if user.is_staff %} <div class=novinky_name><p>{{novinka.autor.first_name}}
<div class=novinky_name><p>{{novinka.autor.first_name}} {% if novinka.autor.organizator.prezdivka%}
{% if novinka.autor.organizator.prezdivka%} &bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo;
&bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo; {% endif %}
{% endif %} {{novinka.autor.last_name}}
{{novinka.autor.last_name}} </p>
</p> </div>
</div>
{% endif %}
</div> </div>
{% endfor%} {% endfor%}

Loading…
Cancel
Save