Fixed: Print available candidates at assignment pdf.
This commit is contained in:
parent
045c09577a
commit
af240bb788
@ -523,7 +523,7 @@ def get_assignment(assignment, story):
|
|||||||
cell2a = []
|
cell2a = []
|
||||||
cell2a.append(Paragraph("<font name='Ubuntu-Bold'>%s:</font><seqreset id='counter'>" % _("Candidates"), stylesheet['Heading4']))
|
cell2a.append(Paragraph("<font name='Ubuntu-Bold'>%s:</font><seqreset id='counter'>" % _("Candidates"), stylesheet['Heading4']))
|
||||||
cell2b = []
|
cell2b = []
|
||||||
for c in assignment.candidates:
|
for c in assignment.profile.all():
|
||||||
cell2b.append(Paragraph("<seq id='counter'/>. %s" % unicode(c), stylesheet['Signaturefield']))
|
cell2b.append(Paragraph("<seq id='counter'/>. %s" % unicode(c), stylesheet['Signaturefield']))
|
||||||
if assignment.status == "sea":
|
if assignment.status == "sea":
|
||||||
for x in range(0,2*assignment.posts):
|
for x in range(0,2*assignment.posts):
|
||||||
|
Loading…
Reference in New Issue
Block a user