Skip to content

Commit 6472397

Browse files
committed
Fixed a bug in counting abstain/recuse positions for the ballot icon
- Legacy-Id: 1697
1 parent 830158f commit 6472397

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/idrfc/templatetags/ballot_icon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ def render_ballot_icon(context, doc):
7878
green = green + 1
7979
elif (p['pos'].discuss > 0):
8080
red = red + 1
81-
else:
81+
elif (p['pos'].recuse > 0) or (p['pos'].abstain > 0):
8282
gray = gray + 1
83+
else:
84+
blank = blank + 1
8385
if adId and (p['ad'].id == adId):
8486
my = position_to_string(p['pos'])
8587
if doc.is_rfc_wrapper:

0 commit comments

Comments
 (0)