From RjS: Added a case in the render_ballot_icon() filter for statchg documents.

- Legacy-Id: 5789
This commit is contained in:
Henrik Levkowetz 2013-06-11 15:25:22 +00:00
parent c696c0618d
commit 7875331805

View file

@ -73,6 +73,9 @@ def render_ballot_icon(user, doc):
elif doc.type_id == "conflrev":
if doc.get_state_slug() not in ("iesgeval","defer"):
return ""
elif doc.type_id == "statchg":
if doc.get_state_slug() not in ("iesgeval","defer"):
return ""
ballot = doc.latest_event(BallotDocEvent, type="created_ballot")
if not ballot: