33 lines
No EOL
1.1 KiB
HTML
33 lines
No EOL
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{{ block.super }} - {% translate "Django Impersonate - User List" %}{% endblock title %}
|
|
{% block page_title %}{% blocktranslate trimmed %}
|
|
User List - Page {{ page_number }}
|
|
{% endblocktranslate %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
{% if page.object_list %}
|
|
<ul class="list-group">
|
|
{% for user in page.object_list %}
|
|
<li class="list-group-item"><a href="{% url 'impersonate-start' user.pk %}{{ redirect }}">{{ user }}</a>
|
|
- Impersonate
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<p class="mt-3">
|
|
<a href="{% url 'impersonate-search' %}">{% translate "Search users" %}</a>
|
|
</p>
|
|
|
|
<p>
|
|
{% if page.has_previous %}
|
|
<a href="{% url 'impersonate-list' %}?page={{ page.previous_page_number }}">Previous Page</a>
|
|
{% endif %}
|
|
|
|
{% if page.has_next %}
|
|
<a href="{% url 'impersonate-list' %}?page={{ page.next_page_number }}">Next Page</a>
|
|
{% endif %}
|
|
</p>
|
|
{% endblock %} |