Removed inappropriate group actions and information from external group info pages. Fixes issue #1651.

- Legacy-Id: 9615
This commit is contained in:
Henrik Levkowetz 2015-05-11 20:19:27 +00:00
parent 2690ac4df4
commit 80f36c899e
2 changed files with 2 additions and 2 deletions

View file

@ -319,7 +319,7 @@ def construct_group_menu_context(request, group, selected, group_type, others):
if group.features.customize_workflow and (is_chair or can_manage):
actions.append((u"Customize workflow", urlreverse("ietf.group.edit.customize_workflow", kwargs=kwargs)))
if group.state_id in ("active", "dormant") and can_manage:
if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage:
actions.append((u"Request closing group", urlreverse("ietf.group.edit.conclude", kwargs=kwargs)))
d = {

View file

@ -102,7 +102,7 @@
</tbody>
{% endif %}
{% if group.state_id != "conclude" %}
{% if group.state_id != "conclude" and group.type_id != "sdo" and group.type_id != "rfcedtyp" and group.type_id != "isoc" %}
<tbody>
<tr>
<th rowspan="2">Jabber chat</th>