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