Accès à page perso via actions en haut à droite
[auf_rh_dae.git] / project / dae / urls.py
CommitLineData
5d680e84 1# -*- encoding: utf-8 -*
3121c13c 2from django.conf.urls.defaults import patterns, url, include
d3cb467a 3from django.conf import settings
5d680e84
NC
4
5urlpatterns = patterns(
6 'project.dae.views',
d3cb467a 7 (r'^prive/(?P<path>.*)$', 'mediaserve', {'document_root': settings.PRIVE_MEDIA_ROOT}),
498881f4 8 url(r'^$', 'index', name='dae_index'),
0140cbd2 9
10 # poste
7ad7408e 11 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
c0413a6f 12 url(r'^poste/consulter/(?P<key>.*)$', 'poste_consulter', name='poste_consulter'),
5d680e84 13 url(r'^poste$', 'poste', name='poste'),
3ed49093 14 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
0140cbd2 15
16 # embauche
17 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
139686f2 18 url(r'^embauche$', 'embauche', name='embauche'),
5d5a57a4 19 url(r'^embauche/consulter/(?P<dossier_id>.*)$', 'embauche_consulter', name='embauche_consulter'),
62d3903d 20 url(r'^embauche/(?P<key>.*)/(?P<dossier_id>.*)$', 'embauche', name='embauche'),
139686f2 21 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
0140cbd2 22
23 # ajax
139686f2
NC
24 url(r'^employe$', 'employe', name='employe'),
25 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
26 url(r'^dossier$', 'dossier', name='dossier'),
03b395db
OL
27 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier', name='dossier'),
28 url(r'^dossier_resume/(?P<dossier_id>.*)$', 'dossier_resume', name='dossier_resume'),
068d1462 29 url(r'^poste_resume/(?P<dossier_id>.*)$', 'poste_resume', name='poste_resume'),
139686f2
NC
30 url(r'^salaire$', 'salaire', name='salaire'),
31 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
b50b0cd3 32 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
f87fe1a1 33 url(r'^liste_valeurs_point$', 'liste_valeurs_point', name='liste_valeurs_point'),
6d047148 34 url(r'^liste_postes$', 'liste_postes', name='liste_postes'),
3d627bfd 35 url(r'^devise$', 'devise', name='dae_devise'),
0a085c42 36 url(r'^devises$', 'devises', name='devises'),
3d627bfd 37 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
cb1d62b5
NC
38 url(r'^add-remun$', 'add_remun', name='add_remun'),
39 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
40 name='add_remun'),
3121c13c 41 (r'^ajax_select/', include('ajax_select.urls')),
5d680e84 42)