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.
2018-11-16 08:10:35 +00:00
|
|
|
{% extends "administration/base.html" %}
|
|
|
|
|
2018-11-26 21:08:18 +00:00
|
|
|
{% load i18n %}
|
|
|
|
{% load utils %}
|
2018-11-16 08:10:35 +00:00
|
|
|
|
2018-11-26 21:08:18 +00:00
|
|
|
{% block title %}
|
|
|
|
{% title %}
|
2018-11-16 08:10:35 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2018-11-26 21:08:18 +00:00
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
2018-11-26 21:29:59 +00:00
|
|
|
<h1>{% trans "Applications" %}</h1>
|
2018-11-26 21:08:18 +00:00
|
|
|
<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>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for application in object_list %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ application.name }}</td>
|
|
|
|
<td>{{ application.provider }}</td>
|
2018-11-30 14:50:45 +00:00
|
|
|
<td>
|
|
|
|
<a class="btn btn-default btn-sm" href="{% url 'passbook_admin:application-update' pk=application.uuid %}?back={{ request.get_full_path }}">{% trans 'Edit' %}</a>
|
|
|
|
<a class="btn btn-default btn-sm" href="{% url 'passbook_admin:application-delete' pk=application.uuid %}?back={{ request.get_full_path }}">{% trans 'Delete' %}</a>
|
|
|
|
</td>
|
2018-11-26 21:08:18 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2018-11-16 08:10:35 +00:00
|
|
|
{% endblock %}
|