Project

General

Profile

« Previous | Next » 

Revision 3a38fa86

Added by Serghei Mihai almost 10 years ago

ressource disponibility view refactored

View differences:

calebasse/agenda/urls.py
9 9
        NewEventView, AgendaServiceActivityView, UpdateAppointmentView,
10 10
        UpdateEventView, AgendaServiceActValidationView, AutomatedValidationView,
11 11
        UnlockAllView, AgendasTherapeutesView, JoursNonVerrouillesView,
12
        AjaxWorkerTabView, AjaxRessourceTabView, AjaxWorkerDisponibilityColumnView,
12
        AjaxWorkerTabView, AjaxRessourceTabView, AjaxDisponibilityColumnView,
13 13
        DeleteOccurrenceView, DeleteEventView, UpdatePeriodicEventView,
14
        UpdatePeriodicAppointmentView, PeriodicEventsView,
15
        AjaxRessourceDisponibilityColumnView)
14
        UpdatePeriodicAppointmentView, PeriodicEventsView)
16 15

  
17 16
agenda_patterns = patterns('',
18 17
            url(r'^$',
......
71 70
            url(r'^ajax-ressource-tab/(?P<ressource_id>\d+)$',
72 71
                AjaxRessourceTabView.as_view(),
73 72
                name='ajax-ressource-tab'),
74
            url(r'^disponibility/worker-(?P<worker_id>\d+)$',
75
                AjaxWorkerDisponibilityColumnView.as_view(),
76
                name='ajax-worker-disponibility-column'),
77
            url(r'^disponibility/ressource-(?P<ressource_id>\d+)$',
78
                AjaxRessourceDisponibilityColumnView.as_view(),
79
                name='ajax-ressource-disponibility-column'),
73
            url(r'^disponibility/(?P<ressource_type>\w+)-(?P<ressource_id>\d+)$',
74
                AjaxDisponibilityColumnView.as_view(),
75
                name='ajax-disponibility-column'),
80 76
            url(r'^rendez-vous-periodiques/$',
81 77
                PeriodicEventsView.as_view(),
82 78
                name='periodic-events'),

Also available in: Unified diff