Removed inappropriate group actions and information from external group info pages. Fixes issue #1651.
- Legacy-Id: 9615
This commit is contained in:
parent
2690ac4df4
commit
80f36c899e
|
@ -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 = {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue