Merge pull request #1341 from frauenknecht/i1324
Fix #1324 - Agenda item has whitespaces before number.
This commit is contained in:
commit
9b381b712e
@ -304,10 +304,12 @@ class Item(SlideMixin, AbsoluteUrlMixin, MPTTModel):
|
||||
|
||||
@property
|
||||
def item_no(self):
|
||||
item_no = None
|
||||
if self.item_number:
|
||||
if config['agenda_number_prefix']:
|
||||
item_no = '%s %s' % (config['agenda_number_prefix'], self.item_number)
|
||||
else:
|
||||
item_no = None
|
||||
item_no = str(self.item_number)
|
||||
return item_no
|
||||
|
||||
def calc_item_no(self):
|
||||
|
Loading…
Reference in New Issue
Block a user