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
|
@property
|
||||||
def item_no(self):
|
def item_no(self):
|
||||||
|
item_no = None
|
||||||
if self.item_number:
|
if self.item_number:
|
||||||
item_no = '%s %s' % (config['agenda_number_prefix'], self.item_number)
|
if config['agenda_number_prefix']:
|
||||||
else:
|
item_no = '%s %s' % (config['agenda_number_prefix'], self.item_number)
|
||||||
item_no = None
|
else:
|
||||||
|
item_no = str(self.item_number)
|
||||||
return item_no
|
return item_no
|
||||||
|
|
||||||
def calc_item_no(self):
|
def calc_item_no(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user