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