Fixed: Show "undocumented" for -2 in assignment pdf.
This commit is contained in:
parent
bfadbce541
commit
91ff36e19a
@ -568,7 +568,7 @@ def get_assignment(assignment, story):
|
|||||||
row.append(_("Invalid votes"))
|
row.append(_("Invalid votes"))
|
||||||
for p in polls:
|
for p in polls:
|
||||||
if p.published:
|
if p.published:
|
||||||
row.append(p.votesinvalid)
|
row.append(p.votesinvalidf)
|
||||||
data_votes.append(row)
|
data_votes.append(row)
|
||||||
|
|
||||||
# votes cast
|
# votes cast
|
||||||
@ -576,7 +576,7 @@ def get_assignment(assignment, story):
|
|||||||
row.append(_("Votes cast"))
|
row.append(_("Votes cast"))
|
||||||
for p in polls:
|
for p in polls:
|
||||||
if p.published:
|
if p.published:
|
||||||
row.append(p.votescast)
|
row.append(p.votescastf)
|
||||||
data_votes.append(row)
|
data_votes.append(row)
|
||||||
|
|
||||||
table_votes=Table(data_votes)
|
table_votes=Table(data_votes)
|
||||||
|
Loading…
Reference in New Issue
Block a user