Exemple #1
0
def agenda(request):
    return render_to_response('agenda/agenda.html',
            {'agenda': Es_a.events(agenda='kn')},
            context_instance=RequestContext(request))
Exemple #2
0
def agenda_zeus(request):
    return render_to_response('agenda/zeus.html',
            {'agenda': Es_a.events(agenda='zeus')},
            context_instance=RequestContext(request))
def show_short_agenda():
    items = list(Es_a.events(agenda='kn', limit=MAX_ITEMS + 1));
    return {'short_agenda': items[0:MAX_ITEMS],
            'has_more': len(items) > MAX_ITEMS}
Exemple #4
0
def ledenmail_template(request):
    return render_to_response('agenda/ledenmail-template.html',
            {'agenda': list(Es_a.events(agenda='kn'))},
            context_instance=RequestContext(request))
Exemple #5
0
def agenda(request):
    return render(request, 'agenda/agenda.html',
                  {'agenda': Es_a.events(agenda='kn')})
Exemple #6
0
def show_short_agenda():
    items = list(Es_a.events(agenda='kn', limit=MAX_ITEMS + 1))
    return {
        'short_agenda': items[0:MAX_ITEMS],
        'has_more': len(items) > MAX_ITEMS
    }
Exemple #7
0
def ledenmail_template(request):
    return render(request, 'agenda/ledenmail-template.html',
                  {'agenda': list(Es_a.events(agenda='kn'))})
Exemple #8
0
def agenda_zeus(request):
    return render(request, 'agenda/zeus.html',
                  {'agenda': Es_a.events(agenda='zeus')})
Exemple #9
0
def agenda(request):
    return render(request, 'agenda/agenda.html',
                  {'agenda': Es_a.events(agenda='kn')})
Exemple #10
0
def ledenmail_template(request):
    return render(request, 'agenda/ledenmail-template.html',
                  {'agenda': list(Es_a.events(agenda='kn'))})
Exemple #11
0
def agenda_zeus(request):
    return render(request, 'agenda/zeus.html',
                  {'agenda': Es_a.events(agenda='zeus')})