Skip to content

Commit 6617268

Browse files
committed
Show state-change-notice-to field in /doc/ (to AD/secretariat)
- Legacy-Id: 1997
1 parent 5c357ed commit 6617268

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

ietf/idrfc/idrfc_wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,10 @@ def telechat_date(self):
427427
def telechat_returning_item(self):
428428
# should be called only if telechat_date() returns non-None
429429
return bool(self._idinternal.returning_item)
430-
431-
# state_change_notice_to?
430+
431+
def state_change_notice_to(self):
432+
return self._idinternal.state_change_notice_to
433+
432434
# comment_log?
433435

434436
# ---------------------------------------------------------------------------

ietf/templates/idrfc/doc_main_id.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
<tr><td>Last updated:</td><td> {{ doc.publication_date|default:"(data missing)" }}</td></tr>
5252
<tr><td>Responsible AD:</td><td>{% if doc.in_ietf_process %}{{ doc.ietf_process.ad_name|default:"-"|escape }}{%else%}-{%endif%}</td></tr>
5353
{% if doc.in_ietf_process and doc.ietf_process.iesg_note %}<tr><td>IESG Note:</td><td>{{ doc.ietf_process.iesg_note|escape }}</td></tr>{% endif %}
54+
{% if user|in_group:"Area_Director,Secretariat" %}
55+
{% if doc.in_ietf_process %}<tr><td>Send notices to:</td><td>{{ doc.ietf_process.state_change_notice_to}}</td></tr>{% endif %}
56+
{% endif %}{# if user|in_group:... #}
5457

5558
{% ifequal doc.draft_status "Active" %}
5659
<tr><td>Other versions:</td><td>

0 commit comments

Comments
 (0)