Add the last call expiration date to the document header,

and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6612
This commit is contained in:
Joel M. Halpern 2013-11-02 18:31:13 +00:00
parent 0ff1e5d04d
commit 5e00182ade

View file

@ -140,13 +140,7 @@ def document_main(request, name, rev=None):
iesg_state = doc.get_state("draft-iesg")
iesg_substate = doc.tags.filter(slug__in=IESG_SUBSTATE_TAGS)
if iesg_state:
iesg_state_summary = iesg_state.name
if iesg_substate:
iesg_state_summary = iesg_state_summary + "::"+"::".join(tag.name for tag in iesg_substate)
else:
iesg_state_summary = None
iesg_state_summary = doc.friendly_state()
can_edit = has_role(request.user, ("Area Director", "Secretariat"))
stream_slugs = StreamName.objects.values_list("slug", flat=True)
can_change_stream = bool(can_edit or (