Skip to content

Commit 80f36c8

Browse files
committed
Removed inappropriate group actions and information from external group info pages. Fixes issue ietf-tools#1651.
- Legacy-Id: 9615
1 parent 2690ac4 commit 80f36c8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/group/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def construct_group_menu_context(request, group, selected, group_type, others):
319319
if group.features.customize_workflow and (is_chair or can_manage):
320320
actions.append((u"Customize workflow", urlreverse("ietf.group.edit.customize_workflow", kwargs=kwargs)))
321321

322-
if group.state_id in ("active", "dormant") and can_manage:
322+
if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage:
323323
actions.append((u"Request closing group", urlreverse("ietf.group.edit.conclude", kwargs=kwargs)))
324324

325325
d = {

ietf/templates/group/group_about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</tbody>
103103
{% endif %}
104104

105-
{% if group.state_id != "conclude" %}
105+
{% if group.state_id != "conclude" and group.type_id != "sdo" and group.type_id != "rfcedtyp" and group.type_id != "isoc" %}
106106
<tbody>
107107
<tr>
108108
<th rowspan="2">Jabber chat</th>

0 commit comments

Comments
 (0)