Blanks removed
This commit is contained in:
parent
4cea530917
commit
3dfd16558a
@ -188,7 +188,5 @@ class Item(MPTTModel, SlideMixin):
|
||||
order_insertion_by = ['weight']
|
||||
|
||||
|
||||
|
||||
|
||||
register_slidemodel(Item, control_template='agenda/control_item.html')
|
||||
register_slidefunc('agenda', agenda_show, weight=-1, name=_('Agenda'))
|
||||
|
@ -16,7 +16,7 @@ from django.utils.translation import ugettext as _
|
||||
def agenda_show():
|
||||
from openslides.agenda.models import Item
|
||||
data = {}
|
||||
items = Item.objects.filter(parent=None, type__exact = 'agd')
|
||||
items = Item.objects.filter(parent=None, type__exact='agd')
|
||||
data['title'] = _("Agenda")
|
||||
data['items'] = items
|
||||
data['template'] = 'projector/AgendaSummary.html'
|
||||
|
@ -41,7 +41,6 @@ class Overview(TemplateView):
|
||||
template_name = 'agenda/overview.html'
|
||||
|
||||
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(Overview, self).get_context_data(**kwargs)
|
||||
|
||||
@ -121,7 +120,6 @@ class SetClosed(RedirectView, SingleObjectMixin):
|
||||
url = 'item_overview'
|
||||
model = Item
|
||||
|
||||
|
||||
def get_ajax_context(self, **kwargs):
|
||||
context = super(SetClosed, self).get_ajax_context(**kwargs)
|
||||
closed = kwargs['closed']
|
||||
|
Loading…
Reference in New Issue
Block a user