Commit | Line | Data |
---|---|---|
fd5f1d55 | 1 | {% extends 'base.html' %} |
2 | ||
3 | {% block title %}RH{% endblock %} | |
fd5f1d55 | 4 | {% block sous_titre %}Accueil{% endblock %} |
5 | ||
6 | {% block main %} | |
7 | <h1>Ressources humaines</h1> | |
8 | ||
9 | <p> | |
10 | L'ensemble des applications RH sera regroupé dans ce système de gestion des ressources humaines (SGRH). | |
11 | </p> | |
12 | <p> | |
a16928b9 | 13 | Voici les applications actuellement disponibles : |
fd5f1d55 | 14 | </p> |
15 | <ul> | |
a16928b9 | 16 | <li><a href="{% url rh_employes %}">Employés</a></li> |
719b51ec | 17 | <li> |
18 | {% if user_in_dae_groupes %} | |
19 | <a href="{% url dae_index %}">Demande d'autorisation d'engagement (DAE)</a> | |
20 | {% else %} | |
21 | Demande d'autorisation d'engagement (DAE) | |
22 | {% endif %} | |
23 | </li> | |
24 | <li> | |
25 | {% if user_in_recrutement_groupes %} | |
26 | <a href="{% url index %}">Recrutement</a> | |
27 | {% else %} | |
28 | Recrutement | |
29 | {% endif %} | |
30 | </li> | |
fd5f1d55 | 31 | </ul> |
a16928b9 | 32 | <p> |
33 | L'accès aux applications est géré par des permissions d'accès. | |
34 | </p> | |
35 | ||
36 | <h1>Vos permissions d'accès</h1> | |
d8cfc3d5 | 37 | |
719b51ec | 38 | {% if user.groups.all %} |
a9faef67 | 39 | <p>Vous faites partie des groupes suivants : </p> |
d8cfc3d5 | 40 | <ul> |
a16928b9 | 41 | {% for g in request.user.groups.all %} |
d8cfc3d5 OL |
42 | <li>{{ g.name }}</li> |
43 | {% endfor %} | |
44 | </ul> | |
a16928b9 | 45 | {% else %} |
46 | Vous n'avez aucune permission d'accès particulière. | |
d8cfc3d5 | 47 | {% endif %} |
fd5f1d55 | 48 | {% endblock %} |