This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/admin/templates/administration/invite/list.html

40 lines
1.1 KiB
HTML
Raw Normal View History

2018-12-10 13:13:18 +00:00
{% extends "administration/base.html" %}
{% load i18n %}
{% load utils %}
{% block title %}
{% title %}
{% endblock %}
{% block content %}
<div class="container">
2018-12-10 13:21:42 +00:00
<h1>{% trans "Invitations" %}</h1>
<a href="{% url 'passbook_admin:invitation-create' %}" class="btn btn-primary">
2018-12-10 13:13:18 +00:00
{% trans 'Create...' %}
</a>
<hr>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>{% trans 'Name' %}</th>
<th>{% trans 'Provider' %}</th>
<th></th>
</tr>
</thead>
<tbody>
2018-12-10 13:21:42 +00:00
{% for invitation in object_list %}
2018-12-10 13:13:18 +00:00
<tr>
2018-12-10 13:21:42 +00:00
<td>{{ invitation.name }}</td>
<td>{{ invitation.provider }}</td>
2018-12-10 13:13:18 +00:00
<td>
2018-12-10 13:21:42 +00:00
<a class="btn btn-default btn-sm" href="{% url 'passbook_admin:invitation-update' pk=invitation.uuid %}?back={{ request.get_full_path }}">{% trans 'Edit' %}</a>
<a class="btn btn-default btn-sm" href="{% url 'passbook_admin:invitation-delete' pk=invitation.uuid %}?back={{ request.get_full_path }}">{% trans 'Delete' %}</a>
2018-12-10 13:13:18 +00:00
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}