Skip to content
Snippets Groups Projects
Commit 14c1cda8 authored by Martin Mareš's avatar Martin Mareš
Browse files

Odvozená práva k místu také schována do HTML komentáře

parent 2fd2da54
No related branches found
No related tags found
No related merge requests found
......@@ -22,14 +22,16 @@
{% endfor %}
</table>
<h3>Vaše odvozená práva</h3>
{% if rights %}
<ul>
<!--
Odvozená práva:
{% if g.user.is_admin %}
admin
{% elif rights %}
{% for r in rights %}
<li>{{ r.name }}
{{ r.name }}
{% endfor %}
</ul>
{% else %}
<p>Žádná.
žádná
{% endif %}
-->
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment