Skip to content
Snippets Groups Projects
Commit 5dd661c4 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add permisison check in header (issue #17)

parent 6b923dba
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -107,8 +107,12 @@
{% if perms.aub.apply_for_aub %}
<li><a href="{% url 'aub_index' %}">Unterrichtsbefreiungen</a></li>
{% endif %}
<li><a href="{% url 'aub_check1' %}">Anträge genehmigen 1</a></li>
<li><a href="{% url 'aub_check2' %}">Anträge genehmigen 2</a></li>
{% if perms.aub.check1_aub %}
<li><a href="{% url 'aub_check1' %}">Anträge genehmigen 1</a></li>
{% endif %}
{% if perms.aub.check2_aub %}
<li><a href="{% url 'aub_check2' %}">Anträge genehmigen 2</a></li>
{% endif %}
<li>
<div class="divider"></div>
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment