def agenda(request): return render_to_response('agenda/agenda.html', {'agenda': Es_a.events(agenda='kn')}, context_instance=RequestContext(request))
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}
def ledenmail_template(request): return render_to_response('agenda/ledenmail-template.html', {'agenda': list(Es_a.events(agenda='kn'))}, context_instance=RequestContext(request))
def agenda(request): return render(request, 'agenda/agenda.html', {'agenda': Es_a.events(agenda='kn')})
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 }
def ledenmail_template(request): return render(request, 'agenda/ledenmail-template.html', {'agenda': list(Es_a.events(agenda='kn'))})
def agenda_zeus(request): return render(request, 'agenda/zeus.html', {'agenda': Es_a.events(agenda='zeus')})