From RjS: Added a case in the render_ballot_icon() filter for statchg documents.
- Legacy-Id: 5789
This commit is contained in:
parent
c696c0618d
commit
7875331805
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue