Merge pull request #541 from normanjaeckel/master
Small fix in the motion app in the PDFs.
This commit is contained in:
commit
f588cd58a3
@ -50,7 +50,7 @@ def motion_to_pdf(pdf, motion):
|
|||||||
motion_data.append([cell1a, cell1b])
|
motion_data.append([cell1a, cell1b])
|
||||||
|
|
||||||
# TODO: choose this in workflow
|
# TODO: choose this in workflow
|
||||||
if motion.state.edit_as_submitter:
|
if motion.state.allow_submitter_edit:
|
||||||
# Cell for the signature
|
# Cell for the signature
|
||||||
cell2a = []
|
cell2a = []
|
||||||
cell2b = []
|
cell2b = []
|
||||||
@ -71,7 +71,7 @@ def motion_to_pdf(pdf, motion):
|
|||||||
for supporter in supporters:
|
for supporter in supporters:
|
||||||
cell3b.append(Paragraph("<seq id='counter'/>. %s" % unicode(supporter),
|
cell3b.append(Paragraph("<seq id='counter'/>. %s" % unicode(supporter),
|
||||||
stylesheet['Signaturefield']))
|
stylesheet['Signaturefield']))
|
||||||
if motion.state.support:
|
if motion.state.allow_support:
|
||||||
for count in range(config['motion_min_supporters'] - supporters.count()):
|
for count in range(config['motion_min_supporters'] - supporters.count()):
|
||||||
cell3b.append(Paragraph("<seq id='counter'/>. " + 42 * "_",
|
cell3b.append(Paragraph("<seq id='counter'/>. " + 42 * "_",
|
||||||
stylesheet['Signaturefield']))
|
stylesheet['Signaturefield']))
|
||||||
|
Loading…
Reference in New Issue
Block a user