diff --git a/files/templates/group_memberships.html b/files/templates/group_memberships.html index 73d57b6c4..9eb9e364b 100644 --- a/files/templates/group_memberships.html +++ b/files/templates/group_memberships.html @@ -1,125 +1,130 @@ {% extends "default.html" %} +{%- import 'util/macros.html' as macros with context -%} {% block pagetitle %}!{{group}}{% endblock %} {% block content %} - {% if v.id != group.owner_id %} - +
+ {% if v.id != group.owner_id %} + - - {% endif %} + + {% endif %} - {% if v.id == group.owner_id %} -
!{{group}} Description
-
-
-
-
-
- - - Limit of 100 characters - + {% endmacro %} + + {% if v.mods_group(group) %} + {{process_memberships(applications, 'applications')}} + {{process_memberships(members, 'members')}} + + {% else %} + {{process_memberships(members, 'members')}} + {{process_memberships(applications, 'applications')}} + {% endif %} +
{% endblock %}