25e142dfdb886e6b6806211bf6ee6aac3aff98b2
[auf_rh_dae.git] / project / dae / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, url
3
4 urlpatterns = patterns(
5 'project.dae.views',
6 url(r'^$', 'index', name='dae_index'),
7
8 # poste
9 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
10 url(r'^poste$', 'poste', name='poste'),
11 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
12
13 # embauche
14 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
15 url(r'^embauche$', 'embauche', name='embauche'),
16 url(r'^embauche/(?P<key>.*)/(?P<dossier>.*)$', 'embauche',
17 name='embauche'),
18 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
19
20 # ajax
21 url(r'^employe$', 'employe', name='employe'),
22 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
23 url(r'^dossier$', 'dossier', name='dossier'),
24 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier',
25 name='dossier'),
26 url(r'^salaire$', 'salaire', name='salaire'),
27 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
28 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
29 url(r'^liste_valeurs_point$', 'liste_valeurs_point', name='liste_valeurs_point'),
30 url(r'^devise$', 'devise', name='dae_devise'),
31 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
32 url(r'^add-remun$', 'add_remun', name='add_remun'),
33 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
34 name='add_remun'),
35 )