OpenSlides/openslides/agenda/slides.py

11 lines
293 B
Python
Raw Normal View History

2012-02-09 01:46:58 +01:00
from django.utils.translation import ugettext as _
def agenda_show():
from agenda.models import Item
2012-02-09 01:46:58 +01:00
data = {}
2012-02-09 02:29:38 +01:00
items = Item.objects.filter(parent=None)
2012-02-09 01:46:58 +01:00
data['title'] = _("Agenda")
data['items'] = items
data['template'] = 'projector/AgendaSummary.html'
return data