[#3165] Remplacé les filtres et protection par région pour des filtres et protections...
[auf_rh_dae.git] / project / rh / urls.py
CommitLineData
ae936f8d 1# -*- encoding: utf-8 -*
00ca4d9f 2
ae936f8d 3from django.conf.urls.defaults import patterns, url
4
6c51457f 5urlpatterns = patterns('project.rh.views',
7b1c223b 6 # rapports
00ca4d9f 7 url(r'^admin/rh/rapports/employes_sans_contrats$',
6b7cf654 8 'rapports_employes_sans_contrat', name='rhr_employe_sans_contrat'),
00ca4d9f
EMS
9 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat',
10 name='rhr_contrats'),
00ca4d9f
EMS
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'),
6c51457f
DB
19
20 # apercus
00ca4d9f
EMS
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'),
6c51457f
DB
27
28 # organigrammes
00ca4d9f
EMS
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'),
8e26a99b
OL
40
41 #historique
42 url(r'^admin/rh/rapports/modifications$',
43 'historique_des_modifications',
44 name='rhr_historique_des_modifications'),
63e17dff 45)