Skip to content

Commit 6ec7347

Browse files
committed
Added IESG document state to review request information. Fixes ietf-tools#3235. Commit ready for merge.
- Legacy-Id: 19081
1 parent bfad845 commit 6ec7347

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

ietf/doc/views_review.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ def review_request(request, name, request_id):
241241
if review_req.doc.group:
242242
wg_chairs = [role.person for role in review_req.doc.group.role_set.filter(name__slug='chair')]
243243

244+
iesg_state_summary = review_req.doc.friendly_state()
245+
244246
history = list(review_req.history.all())
245247
history += itertools.chain(*[list(r.history.all()) for r in review_req.reviewassignment_set.all()])
246248
history.sort(key=lambda h: h.history_date, reverse=True)
@@ -254,6 +256,7 @@ def review_request(request, name, request_id):
254256
'can_edit_deadline': can_edit_deadline,
255257
'assignments': assignments,
256258
'wg_chairs': wg_chairs,
259+
'iesg_state_summary': iesg_state_summary,
257260
'history': history,
258261
})
259262

ietf/templates/doc/review/request_info.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@
9393
</tr>
9494
{% endif %}
9595

96+
{% if iesg_state_summary %}
97+
<tr>
98+
<th></th>
99+
<th>IESG document state</th>
100+
<td>{{ iesg_state_summary }}</td>
101+
</tr>
102+
{% endif %}
103+
96104
<tr>
97105
<th></th>
98106
<th>Completed reviews</th>

0 commit comments

Comments
 (0)