view MoinMoin/apps/admin/templates/admin/groupbrowser.html @ 2867:1259233ad807

standardize look of tables within User, Admin, and Tickets; use zebra everywhere, remove table-hover
author RogerHaase <haaserd@gmail.com>
date Wed, 17 Dec 2014 12:32:26 -0700
parents c9a8ff6d00cc
children
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "utils.html" as utils %}
{% block content %}
    <h1>{{ _("Groups") }}</h1>
    <table id="moin-group-browser" class="zebra moin-sortable" data-sortlist="[[0,0]]">
        <thead>
            <tr>
                <th>{{ _("Group Names") }}</th>
                <th>{{ _("Member Users") }}</th>
                <th>{{ _("Member Groups") }}</th>
                <th data-sorter="false">{{ _("Group ACL Report") }}</th>
            </tr>
        </thead>
        <tbody>
            {% for group in groups %}
                <tr>
                    <td>{% if group['grouptype'] == 'WikiGroup' %}<a href="{{ url_for('frontend.modify_item', item_name=group['name']) }}">{% endif %}{{ group['name'] }}</a></td>
                    <td>{{ group['member_users']|sort|join(', ') }}</td>
                    <td>{{ group['member_groups']|sort|join(', ') }}</td>
                    <td><a class="moin-button" href="{{ url_for('admin.group_acl_report', group_name=group['name']) }}">{{ _("ACL Report") }}</a></td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}