lingo/lingo/pricing/templates/lingo/pricing/manager_pricing_list.html

39 lines
1.0 KiB
HTML

{% extends "lingo/pricing/manager_home.html" %}
{% load i18n %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'lingo-manager-pricing-list' %}">{% trans "Pricing models" %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans 'Pricing' context 'pricing' %}</h2>
<span class="actions">
<a rel="popup" href="{% url 'lingo-manager-pricing-add' %}">{% trans 'New pricing model' %}</a>
</span>
{% endblock %}
{% block content %}
<div class="pk-information">
<p>{% trans "Define here pricing models used in events agendas." %}</p>
</div>
{% if object_list %}
<div>
<ul class="objects-list single-links">
{% for object in object_list %}
<li>
<a href="{% url 'lingo-manager-pricing-detail' pk=object.pk %}">{{ object.label }} ({{ object.slug }})</a>
</li>
{% endfor %}
</ul>
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
This site doesn't have any pricing model yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}
</div>
{% endif %}
{% endblock %}