Source

moin-2.0 / MoinMoin / apps / admin / templates / admin / userbrowser.html

{% extends theme("layout.html") %}
{% block content %}
    <h1>{{ _("Users") }}</h1>
    <table class="zebra">
    <tr>
        <th>{{ _("User name") }}</th>
        <th>{{ _("Member of Groups") }}</th>
        <th>{{ _("Email address") }}</th>
        <th>{{ _("Actions") }}</th>
    </tr>
    {% for u in user_accounts %}
    <tr>
        <td><a href="{{ url_for('frontend.show_item', item_name=u.name[0]) }}">{{ u.name|join(',') }}</a>{{ u.disabled and " (%s)" % _("disabled") or ""}}</td>
        <td>{{ u.groups|join(',') }}</td>
        <td>
            {% if u.email %}
            <a href="mailto:{{ u.email|e }}" class="mailto">{{ u.email|e }}</a>
            {% endif %}
        </td>
        <td>
            <form action="{{ url_for('admin.userprofile', user_name=u.name[0]) }}" method="POST">
                <input type="hidden" name="key" value="disabled" />
                <input type="hidden" name="val" value="{{ u.disabled and "0" or "1" }}" />
                <input type="submit" name="userprofile" value="{{ u.disabled and _("Enable user") or _("Disable user") }}" />
            </form>
            <form action="{{ url_for('admin.mail_recovery_token') }}" method="GET">
                <input type="hidden" name="email" value="{{ u.email }}" />
                <input type="hidden" name="account_sendmail" value="1" />
                <input type="submit" name="recoverpass" value="{{ _("Mail account data") }}" />
            </form>
        </td>
    </tr>
    {% endfor %}
</table>
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.