OpenSlides/openslides/agenda/slides.py

14 lines
390 B
Python
Raw Normal View History

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