Ajout d'un menu, et correction des liens du breadcrumbs
[auf_rh_dae.git] / project / rh / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, url
3
4 urlpatterns = patterns(
5 'project.rh.views',
6 url(r'^employes/$', 'employes_liste', name='rh_employes'),
7 url(r'^profil$', 'profil', name='rh_profil'),
8 url(r'^employes/(?P<id>\d+)$', 'employe', name='rh_employe'),
9 )
10 # api
11 urlpatterns += patterns(
12 'project.rh.api',
13 url(r'^employes/(?P<id>\d+)/photo$', 'photo', name='rh_photo'),
14 )
15 # Rapports
16 urlpatterns += patterns(
17 'project.rh.views',
18 url(r'^admin/rh/rapports/postes$', 'rapports_poste', name='rhr_postes'),
19 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat', name='rhr_contrats'),
20 )