[#3165] Remplacé les filtres et protection par région pour des filtres et protections...
[auf_rh_dae.git] / project / rh / urls.py
1 # -*- encoding: utf-8 -*
2
3 from django.conf.urls.defaults import patterns, url
4
5 urlpatterns = patterns('project.rh.views',
6 # rapports
7 url(r'^admin/rh/rapports/employes_sans_contrats$',
8 'rapports_employes_sans_contrat', name='rhr_employe_sans_contrat'),
9 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat',
10 name='rhr_contrats'),
11 url(r'^admin/rh/rapports/masse_salariale$', 'rapports_masse_salariale',
12 name='rhr_masse_salariale'),
13 url(r'^admin/rh/rapports/postes_par_service$',
14 'rapports_postes_service', name='rhr_postes_service'),
15 url(r'^admin/rh/rapports/postes_par_implantation$',
16 'rapports_postes_implantation', name='rhr_postes_implantation'),
17 url(r'^admin/rh/rapports/postes_modelisation$',
18 'rapports_postes_modelisation', name='rhr_postes_modelisation'),
19
20 # apercus
21 url(r'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu',
22 name='dossier_apercu'),
23 url(r'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu',
24 name='employe_apercu'),
25 url(r'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu',
26 name='poste_apercu'),
27
28 # organigrammes
29 url(r'^admin/rh/organigrammes/employe/(\d+)/(\d+|all)$',
30 'organigrammes_employe', name='rho_employe'),
31 #pour mettre le paramètre level non obligatoire, faut la deuxième url
32 url(r'^admin/rh/organigrammes/employe/(\d+)/$', 'organigrammes_employe',
33 name='rho_employe_sans_niveau'),
34 url(r'^admin/rh/organigrammes/service/(\d+)$', 'organigrammes_service',
35 name='rho_service'),
36 url(r'^admin/rh/organigrammes/implantation/(\d+)$',
37 'organigrammes_implantation', name='rho_implantation'),
38 url(r'^admin/rh/organigrammes/bureau/(\d+)$', 'organigrammes_region',
39 name='rho_region'),
40
41 #historique
42 url(r'^admin/rh/rapports/modifications$',
43 'historique_des_modifications',
44 name='rhr_historique_des_modifications'),
45 )