Mauvaise redirection apres affectation d'évaluateurs
[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 url(r'^admin/rh/rapports/employes_sans_contrats$',
7 'rapports_employes_sans_contrat', name='rhr_employe_sans_contrat'),
8 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat',
9 name='rhr_contrats'),
10 url(r'^admin/rh/rapports/masse_salariale$', 'rapports_masse_salariale',
11 name='rhr_masse_salariale'),
12 url(r'^admin/rh/rapports/postes_par_service$',
13 'rapports_postes_service', name='rhr_postes_service'),
14 url(r'^admin/rh/rapports/postes_par_implantation$',
15 'rapports_postes_implantation', name='rhr_postes_implantation'),
16 url(r'^admin/rh/rapports/postes_modelisation$',
17 'rapports_postes_modelisation', name='rhr_postes_modelisation'),
18
19 # apercus
20 url(r'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu',
21 name='dossier_apercu'),
22 url(r'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu',
23 name='employe_apercu'),
24 url(r'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu',
25 name='poste_apercu'),
26
27 # organigrammes
28 url(r'^admin/rh/organigrammes/employe/(\d+)/(\d+|all)$',
29 'organigrammes_employe', name='rho_employe'),
30 #pour mettre le paramètre level non obligatoire, faut la deuxième url
31 url(r'^admin/rh/organigrammes/employe/(\d+)/$', 'organigrammes_employe',
32 name='rho_employe_sans_niveau'),
33 url(r'^admin/rh/organigrammes/service/(\d+)$', 'organigrammes_service',
34 name='rho_service'),
35 url(r'^admin/rh/organigrammes/implantation/(\d+)$',
36 'organigrammes_implantation', name='rho_implantation'),
37 url(r'^admin/rh/organigrammes/bureau/(\d+)$', 'organigrammes_region',
38 name='rho_region'),
39 )