2012-02-09 01:46:58 +01:00
|
|
|
from django.utils.translation import ugettext as _
|
|
|
|
|
|
|
|
from agenda.models import Item
|
|
|
|
|
|
|
|
def agenda_show():
|
|
|
|
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
|