Merge branch 'dev' into test
[auf_rh_dae.git] / project / dae / urls.py
CommitLineData
5d680e84 1# -*- encoding: utf-8 -*
5a1f75cb 2from django.conf.urls.defaults import patterns, url
5d680e84
NC
3
4urlpatterns = patterns(
5 'project.dae.views',
498881f4 6 url(r'^$', 'index', name='dae_index'),
0140cbd2 7
8 # poste
7ad7408e 9 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
5a1f75cb
EMS
10 url(r'^poste/consulter/(?P<key>.*)$', 'poste_consulter',
11 name='poste_consulter'),
5d680e84 12 url(r'^poste$', 'poste', name='poste'),
3ed49093 13 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
67a94eaf 14 url(r'^pieces-postes/(\d+)/(.*)$', 'poste_piece', name='poste_piece'),
0140cbd2 15
16 # embauche
17 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
5a1f75cb
EMS
18 url(r'^embauches-finalisees$', 'embauches_finalisees',
19 name='embauches_finalisees'),
577dcb77 20 url(r'^embauche$', 'embauche_choisir_poste', name='embauche'),
5a1f75cb
EMS
21 url(r'^embauche/consulter/(?P<dossier_id>.*)$', 'embauche_consulter',
22 name='embauche_consulter'),
fb0ed970
EMS
23 url(r'^embauche/importer/(?P<dossier_id>.*)$', 'embauche_importer',
24 name='embauche_importer'),
5a1f75cb
EMS
25 url(r'^embauche/(?P<key>.*)/(?P<dossier_id>.*)$', 'embauche',
26 name='embauche'),
139686f2 27 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
0140cbd2 28
9536ea21 29 # contrats
5a1f75cb
EMS
30 url(r'^embauches/(?P<dossier_id>\d+)/contrats/ajouter$',
31 'embauche_ajouter_contrat', name='embauche_ajouter_contrat'),
ec269fa9 32 url(r'^contrats/(\d+)/fichier/(.*)$', 'contrat', name='contrat'),
5a1f75cb
EMS
33 url(r'^contrats/(\d+)/supprimer$', 'contrat_supprimer',
34 name='contrat_supprimer'),
9536ea21 35
c3f0b49f 36 # DAE numérisée
5a1f75cb
EMS
37 url(r'^embauches/(\d+)/dae_numerisee$', 'dae_numerisee',
38 name='dae_numerisee'),
c3f0b49f
EMS
39 url(r'^embauches/(\d+)/dae_numerisee/modifier$', 'dae_numerisee_modifier',
40 name='dae_numerisee_modifier'),
5a1f75cb
EMS
41 url(r'^embauches/(\d+)/dae_numerisee/supprimer$',
42 'dae_numerisee_supprimer', name='dae_numerisee_supprimer'),
c3f0b49f 43
577dcb77 44 # ajax
139686f2
NC
45 url(r'^employe$', 'employe', name='employe'),
46 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
47 url(r'^dossier$', 'dossier', name='dossier'),
5a1f75cb
EMS
48 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier',
49 name='dossier'),
50 url(r'^pieces-dossiers/(\d+)/(.*)$', 'dossier_piece',
51 name='dossier_piece'),
52 url(r'^dossier_resume/(?P<dossier_id>.*)$', 'dossier_resume',
53 name='dossier_resume'),
54 url(r'^poste_resume/(?P<dossier_id>.*)$', 'poste_resume',
55 name='poste_resume'),
139686f2
NC
56 url(r'^salaire$', 'salaire', name='salaire'),
57 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
b50b0cd3 58 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
5a1f75cb
EMS
59 url(r'^liste_valeurs_point$', 'liste_valeurs_point',
60 name='liste_valeurs_point'),
6d047148 61 url(r'^liste_postes$', 'liste_postes', name='liste_postes'),
3d627bfd 62 url(r'^devise$', 'devise', name='dae_devise'),
0a085c42 63 url(r'^devises$', 'devises', name='devises'),
3d627bfd 64 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
cb1d62b5
NC
65 url(r'^add-remun$', 'add_remun', name='add_remun'),
66 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
67 name='add_remun'),
5d680e84 68)