projets
/
auf_rh_dae.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9533bd1
)
Restreindre l'accès à DAE aux utilisateurs qui ont une permission dans le système RH
author
Eric Mc Sween
<eric.mcsween@auf.org>
Mon, 4 Jun 2012 14:29:47 +0000
(10:29 -0400)
committer
Eric Mc Sween
<eric.mcsween@auf.org>
Mon, 4 Jun 2012 14:29:47 +0000
(10:29 -0400)
project/templates/menu.html
patch
|
blob
|
blame
|
history
diff --git
a/project/templates/menu.html
b/project/templates/menu.html
index
e1fb1a9
..
fa1fd9a
100644
(file)
--- a/
project/templates/menu.html
+++ b/
project/templates/menu.html
@@
-12,7
+12,7
@@
</li>
{% endif %}
- {% if request.user.is_authenticated %}
+ {% if perms.rh %}
<li class="{% menu_actif request '^dae$' %}">
<a href="{% url dae_index %}">Demande d'autorisation d'engagement</a>
<ul>
@@
-38,7
+38,7
@@
</ul>
</li>
{% endif %}
-
+
{% if perms.rh %}
<li>
<a href="{% url admin:app_list app_label="rh" %}">Gestion des personnels</a>