lingo/lingo/pricing/templates/lingo/pricing/manager_agenda_pricing_list...

45 lines
1.4 KiB
HTML

{% extends "lingo/pricing/manager_home.html" %}
{% load i18n %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'lingo-manager-agenda-pricing-list' %}">{% trans "Pricings" context 'agenda pricing' %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans 'Pricings' context 'agenda pricing' %}</h2>
<span class="actions">
<a rel="popup" href="{% url 'lingo-manager-agenda-pricing-add' %}">{% trans 'New pricing' %}</a>
</span>
{% endblock %}
{% block content %}
<div class="pk-information">
<p>{% trans "Define here pricings to attach to 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-agenda-pricing-detail' pk=object.pk %}">
{{ object }}
({{ object.pricing }}
- {% blocktrans with start=object.date_start|date:'d/m/Y' end=object.date_end|date:'d/m/Y' %}From {{ start }} to {{ end }}{% endblocktrans %})
<span class="extra-info"> [{% trans "identifier:" %} {{ object.slug }}]</span>
</a>
<a href="{% url 'lingo-manager-pricing-detail' object.pricing.pk %}" class="link-action-icon link">{% trans "see" %}</a>
</li>
{% endfor %}
</ul>
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
This site doesn't have any pricing yet. Click on the "New pricing" button in the top
right of the page to add a first one.
{% endblocktrans %}
</div>
{% endif %}
{% endblock %}