42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
{% extends "lingo/pricing/manager_pricing_list.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url 'lingo-manager-agenda-list' %}">{% trans 'Agendas' %}</a>
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans 'Agendas' %}</h2>
|
|
<span class="actions">
|
|
<a href="{% url 'lingo-manager-agenda-sync' %}">{% trans 'Refresh agendas' %}</a>
|
|
<a href="{% url 'lingo-manager-check-type-list' %}">{% trans 'Check types' %}</a>
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if object_list %}
|
|
{% regroup object_list by category_label as agenda_groups %}
|
|
{% for group in agenda_groups %}
|
|
<div class="section">
|
|
{% if group.grouper %}<h3>{{ group.grouper }}</h3>{% elif not forloop.first %}<h3>{% trans "Misc" %}</h3>{% endif %}
|
|
<ul class="objects-list single-links">
|
|
{% for object in group.list %}
|
|
<li>
|
|
<a href="{% url 'lingo-manager-agenda-detail' object.pk %}">{{ object.label }} <span class="identifier">[{% trans "identifier:" %} {{ object.slug }}]</a>
|
|
{% with chrono_url=object.get_chrono_url %}{% if chrono_url %}<a href="{{ chrono_url }}" class="link-action-icon link">{% trans "view" %}</a>{% endif %}{% endwith %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<div class="big-msg-info">
|
|
{% blocktrans %}
|
|
This site doesn't have any agenda yet. Click on the "Refresh agendas" button in the top
|
|
right of the page to synchronize them.
|
|
{% endblocktrans %}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|