OpenSlides/openslides/agenda/slides.py

23 lines
551 B
Python
Raw Normal View History

2012-04-25 22:29:19 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.agenda.slides
~~~~~~~~~~~~~~~~~~~~~~~
Slides for the agenda app.
:copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
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