Merged [6612] from jmh@joelhalpern.com:
Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
- Legacy-Id: 6619
Note: SVN reference [6612] has been migrated to Git commit 5e00182ade
This commit is contained in:
commit
049779e382
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue