37 lines
976 B
HTML
37 lines
976 B
HTML
{% extends "administration/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load utils %}
|
|
|
|
{% block title %}
|
|
{% title %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<a href="{% url 'passbook_admin:application-create' %}" class="btn btn-primary">
|
|
{% trans 'Create...' %}
|
|
</a>
|
|
<hr>
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans 'Name' %}</th>
|
|
<th>{% trans 'Provider' %}</th>
|
|
<th></th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for application in object_list %}
|
|
<tr>
|
|
<td>{{ application.name }}</td>
|
|
<td>{{ application.provider }}</td>
|
|
<td><a href="{% url 'passbook_admin:application-update' pk=application.uuid %}">{% trans 'Edit' %}</a></td>
|
|
<td><a href="{% url 'passbook_admin:application-delete' pk=application.uuid %}">{% trans 'Delete' %}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock %} |