#2784
[auf_rh_dae.git] / project / rh / urls.py
CommitLineData
ae936f8d 1# -*- encoding: utf-8 -*
2from django.conf.urls.defaults import patterns, url
3
63e17dff 4# Rapports
ae936f8d 5urlpatterns = patterns(
63e17dff
PP
6 'project.rh.views',
7 url(r'^admin/rh/rapports/postes$', 'rapports_poste', name='rhr_postes'),
c8b22fd1 8 url(r'^admin/rh/rapports/employes_sans_contrats$', 'rapports_employe_sans_contrat', name='rhr_employe_sans_contrat'),
f2d65e83 9 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat', name='rhr_contrats'),
e2c0b1ac 10 url(r'^admin/rh/rapports/remuneration$', 'rapports_remuneration', name='rhr_remuneration'),
783e077a
JPC
11 url(r'^admin/rh/rapports/postes_par_service$', 'rapports_postes_service', name='rhr_postes_service'),
12 url(r'^admin/rh/rapports/postes_par_implantation$', 'rapports_postes_implantation', name='rhr_postes_implantation'),
857b5c24 13 url(r'^admin/rh/rapports/postes_modelisation$', 'rapports_postes_modelisation', name='rhr_postes_modelisation'),
3ebc0952 14 url(r'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu', name='dossier_apercu'),
4a1f2ece 15 url(r'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu', name='employe_apercu'),
150d83ec 16 url(r'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu', name='poste_apercu'),
4afec2e1 17 url(r'^admin/rh/organigrammes/employe/(\d+)/(\d+|all)$', 'organigrammes_employe', name='rho_employe'),
56264a85 18 url(r'^admin/rh/organigrammes/employe/(\d+)/$', 'organigrammes_employe', name='rho_employe_sans_niveau'), #pour mettre le paramètre level non obligatoire, faut la deuxième url
5c0f1778 19 url(r'^admin/rh/organigrammes/service/(\d+)$', 'organigrammes_service', name='rho_service'),
82af5c19 20 url(r'^admin/rh/organigrammes/implantation/(\d+)$', 'organigrammes_implantation', name='rho_implantation'),
9da4c195 21 url(r'^admin/rh/organigrammes/bureau/(\d+)$', 'organigrammes_region', name='rho_region'),
63e17dff 22)