Skip to content

Commit 38b9c52

Browse files
committed
Show the link for editing what agendas a document appears on more liberally. Fixes ietf-tools#1935. Commit ready for merge.
- Legacy-Id: 11080
1 parent 051db85 commit 38b9c52

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/templates/doc/document_draft.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,15 @@
253253
</tr>
254254
{% endif %}
255255

256-
{% if presentations or can_edit_stream_info %}
256+
{% if presentations or user|has_role:"Secretariat,Area Director,WG Chair,WG Secretary,RG Chair,RG Secretary,IRTF Chair,Team Chair" or can_edit_stream_info %}
257257
<tr>
258258
<th></th>
259259
<th>On Agenda</th>
260260
<td class="edit">
261-
{% if not snapshot and can_edit_stream_info %}
261+
{% if not snapshot %}
262+
{% if user|has_role:"Secretariat,Area Director,WG Chair,WG Secretary,RG Chair,RG Secretary,IRTF Chair,Team Chair" or can_edit_stream_info %}
262263
{% doc_edit_button "ietf.doc.views_doc.all_presentations" name=doc.name %}
264+
{% endif %}
263265
{% endif %}
264266
</td>
265267

0 commit comments

Comments
 (0)