Project

General

Profile

« Previous | Next » 

Revision b306fcbb

Added by Frédéric Péters over 11 years ago

agenda: make tabs load on demand

View differences:

calebasse/agenda/urls.py
6 6
        NewEventView, AgendaServiceActivityView, UpdateAppointmentView,
7 7
        UpdateEventView, AgendaServiceActValidationView, AutomatedValidationView,
8 8
        UnlockAllView, AgendasTherapeutesView, JoursNonVerrouillesView,
9
        RessourcesView)
9
        RessourcesView, AjaxWorkerTabView, AjaxWorkerDisponibilityColumnView)
10 10

  
11 11
agenda_patterns = patterns('',
12 12
            url(r'^$',
......
55 55
                RessourcesView.as_view(
56 56
                    template_name='agenda/ressources.html'),
57 57
                name='ressources'),
58
            url(r'^ajax-worker-tab/(?P<worker_id>\d+)$',
59
                AjaxWorkerTabView.as_view(),
60
                name='ajax-worker-tab'),
61
            url(r'^ajax-worker-disponibility-column/(?P<worker_id>\d+)$',
62
                AjaxWorkerDisponibilityColumnView.as_view(),
63
                name='ajax-worker-disponibility-column'),
58 64
            )
59 65

  
60 66
urlpatterns = patterns('',

Also available in: Unified diff