summaryrefslogtreecommitdiffstats
path: root/combo/apps/lingo/templates/lingo/paymentbackend_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'combo/apps/lingo/templates/lingo/paymentbackend_list.html')
-rw-r--r--combo/apps/lingo/templates/lingo/paymentbackend_list.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/combo/apps/lingo/templates/lingo/paymentbackend_list.html b/combo/apps/lingo/templates/lingo/paymentbackend_list.html
new file mode 100644
index 0000000..f9af2f7
--- /dev/null
+++ b/combo/apps/lingo/templates/lingo/paymentbackend_list.html
@@ -0,0 +1,38 @@
+{% extends "lingo/manager_base.html" %}
+{% load i18n %}
+
+{% block appbar %}
+<h2>{% trans 'Payment backends' %}</h2>
+<span class="actions">
+<a rel="popup" href="{% url 'lingo-manager-paymentbackend-add' %}">{% trans 'New' %}</a>
+</span>
+{% endblock %}
+
+{% block breadcrumb %}
+{{ block.super }}
+<a href="{% url 'lingo-manager-paymentbackend-list' %}">{% trans 'Payment backends' %}</a>
+{% endblock %}
+
+{% block content %}
+
+{% if object_list %}
+<ul class="objects-list single-links">
+ {% for payment_backend in object_list %}
+ <li>
+ <a href="{% url 'lingo-manager-paymentbackend-edit' pk=payment_backend.id %}">{{ payment_backend.label }}
+ <span>({{payment_backend.service}})</span>
+ </a>
+ <a rel="popup" class="delete" href="{% url 'lingo-manager-paymentbackend-delete' pk=payment_backend.id %}">{% trans "remove" %}</a>
+ </li>
+ {% endfor %}
+</ul>
+{% else %}
+<div class="big-msg-info">
+ {% blocktrans %}
+ This site doesn't have any payment backend yet. Click on the "New" button in the top
+ right of the page to add a first one.
+ {% endblocktrans %}
+</div>
+{% endif %}
+
+{% endblock %}