From: Yoan Le Clanche Date: Thu, 18 Jan 2018 10:49:23 +0000 (+0100) Subject: https://trackers.pilotsystems.net/probarreau/0266 https://trackers.pilotsystems.net... X-Git-Tag: 2.8.1-pro~209 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=918b6161cec75b446a085d6e611b61741aa1547e;p=teleforma.git https://trackers.pilotsystems.net/probarreau/0266 https://trackers.pilotsystems.net/probarreau/0247 --- diff --git a/teleforma/templates/admin/teleforma/seminarrevision/change_list.html b/teleforma/templates/admin/teleforma/seminarrevision/change_list.html new file mode 100644 index 00000000..f09bbbe4 --- /dev/null +++ b/teleforma/templates/admin/teleforma/seminarrevision/change_list.html @@ -0,0 +1,141 @@ +{% extends "admin/base_site.html" %} +{% load i18n admin_static admin_list admin_urls suit_list suit_tags %} +{% load url from future %} + +{% block extrastyle %} + {{ block.super }} + {# #} + {% if cl.formset %} + {# #} + {% endif %} + {% if cl.formset or action_form %} + {% url 'admin:jsi18n' as jsi18nurl %} + + {% endif %} + {{ media.css }} + {% if not actions_on_top and not actions_on_bottom %} + + {% endif %} +{% endblock %} + +{% block extrahead %} + {{ block.super }} + {{ media.js }} + {% if action_form %}{% if actions_on_top or actions_on_bottom %} + + {% endif %}{% endif %} +{% endblock %} + +{% block bodyclass %}change-list{% endblock %} + +{% if not is_popup %} + {% block breadcrumbs %} + + {% endblock %} +{% endif %} + +{% block coltype %}flex{% endblock %} + +{% block content %} + +
+ +
+
+ +
+ {% block object-tools %} + {% if has_add_permission %} + + {% endif %} + {% endblock %} + + {% block search %}{% search_form cl %}{% endblock %} +
+ + {% block date_hierarchy %} + {% if cl.date_hierarchy %} + {% date_hierarchy cl %} + {% endif %} + {% endblock %} + + {% if cl.formset.errors %} +
+ {% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} +
+ {{ cl.formset.non_form_errors }} + {% endif %} + +
{% csrf_token %} + {% if cl.formset %} +
{{ cl.formset.management_form }}
+ {% endif %} + + {% block result_list %} + {% if cl.result_count %} + {% if action_form and actions_on_top and cl.full_result_count %} + {% admin_actions %}{% endif %} + {% result_list_with_context cl %} + + {% if action_form and actions_on_bottom and cl.full_result_count %} + {% admin_actions %}{% endif %} + {% else %} + {% suit_bc_value 1.5 'pop' 1.6 '_popup' as POPUP_VAR %} +
+ {% if cl.full_result_count %} +

{% trans 'Nothing found' %}!

+
+ {% trans 'Reset search and filters' %} + {% else %} + {% blocktrans with cl.opts.verbose_name_plural|capfirst as name_plural %}{{ name_plural }} are not created yet{% endblocktrans %}. + {% if has_add_permission %} + {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}{% endif %} + {% endif %} +
+ {% endif %} + {% endblock %} + + {% block pagination %} + {% if cl.result_count %} + {% if action_form and actions_on_bottom and cl.full_result_count %} +
+ {% endif %} + {% pagination cl %} + {% if action_form and actions_on_bottom and cl.full_result_count %} +
+ {% endif %} + {% endif %} + {% endblock %} +
+
+
+
+{% endblock %}