Organigramme de poste
[auf_rh_dae.git] / project / rh / urls.py
index 5e92fe9..48aedd2 100644 (file)
@@ -1,19 +1,19 @@
 # -*- encoding: utf-8 -*
 from django.conf.urls.defaults import patterns, url
 
-urlpatterns = patterns(
-    'project.rh.views',
-    url(r'^employes/$', 'employes_liste', name='rh_employes'),
-    url(r'^profil$', 'profil', name='rh_profil'),
-    url(r'^employes/(?P<id>\d+)$', 'employe', name='rh_employe'),
-)
-# api
-urlpatterns += patterns(
-    'project.rh.api',
-    url(r'^employes/(?P<id>\d+)/photo$', 'photo', name='rh_photo'),
-)
 # Rapports
-urlpatterns += patterns(
+urlpatterns = patterns(
     'project.rh.views',
     url(r'^admin/rh/rapports/postes$', 'rapports_poste', name='rhr_postes'),
+    url(r'^admin/rh/rapports/employes_sans_contrats$', 'rapports_employe_sans_contrat', name='rhr_employe_sans_contrat'),
+    url(r'^admin/rh/rapports/contrats$', 'rapports_contrat', name='rhr_contrats'),
+    url(r'^admin/rh/rapports/remuneration$', 'rapports_remuneration', name='rhr_remuneration'),
+    url(r'^admin/rh/rapports/postes_par_service$', 'rapports_postes_service', name='rhr_postes_service'),
+    url(r'^admin/rh/rapports/postes_par_implantation$', 'rapports_postes_implantation', name='rhr_postes_implantation'),
+    url(r'^admin/rh/rapports/postes_modelisation$', 'rapports_postes_modelisation', name='rhr_postes_modelisation'),
+    url(r'^admin/rh/rapports/postes_hierarchie$', 'rapports_postes_hierarchie', name='rhr_postes_hierarchie'),
+    url(r'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu', name='dossier_apercu'),
+    url(r'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu', name='employe_apercu'),
+    url(r'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu', name='poste_apercu'),
+    url(r'^admin/rh/organigrammes/employe/(\d+)$', 'organigrammes_employe', name='rho_employe'),
 )