{% extends "master.html" %} {% from "_render_repo.html" import render_repos_as_card %} {% block title %}Group {{ group.group_name }}{% endblock %} {% set tag = "groups" %} {% from "_browseheader.html" import browse_header %} {% block header %} {% endblock %} {% block content %}
{{browse_header(select=tag)}}

 {{ group.display_name }} {% if authenticated and (member or admin) and config.get('ENABLE_GROUP_MNGT') %}
{% if admin %} {% endif %} {{ form.csrf_token }}
{% endif %}

{% if group.description %}

{{ group.description }}

{% endif %} created {{ group.created |humanize }} by {{ group.creator.fullname }} ({{ group.creator.user }})
{{ render_repos_as_card( group.projects, group.projects|count, 'Projects') }}
Group Members {{group.users|count}} {% if authenticated and (member or admin) and config.get('ENABLE_GROUP_MNGT') %}
{% endif %}
{% if authenticated and (member or admin) and config.get('ENABLE_GROUP_MNGT') %} {{ form.csrf_token }}
{% endif %} {% for user in group.users %}
{{ user.default_email | avatar(28) | safe }} {{ user.user }} {% if authenticated and user != group.creator and (member or admin) and config.get('ENABLE_GROUP_MNGT') %}
{{ form.csrf_token }}
{% endif %}
{% endfor %}
{% endblock %} {% block jscripts %} {{ super() }} {% endblock %}