diff --git a/sigi/apps/convenios/admin.py b/sigi/apps/convenios/admin.py index 6b8cab3..5800869 100644 --- a/sigi/apps/convenios/admin.py +++ b/sigi/apps/convenios/admin.py @@ -10,11 +10,8 @@ from sigi.apps.utils import queryset_ascii from sigi.apps.servidores.models import Servidor from sigi.apps.casas.admin import ConveniosInline, GerentesInterlegisFilter from sigi.apps.utils.mixins import CartExportReportMixin, LabeledResourse -<<<<<<< HEAD from django_weasyprint.views import WeasyTemplateResponse -======= from sigi.apps.utils.filters import DateRangeFilter ->>>>>>> 96ea3b8f2dd4c7380c7e59f4a0546e6c27b09ffe class ConvenioExportResourse(LabeledResourse): class Meta: diff --git a/templates/admin/change_list.html b/templates/admin/change_list.html index f1a7f8a..b6a2e4c 100644 --- a/templates/admin/change_list.html +++ b/templates/admin/change_list.html @@ -1,6 +1,35 @@ {% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_list bootstrapped_goodies_tags %} + +{% block object-tools %} + + {% if cl.has_filters %} + + {% endif %} + {% block search %}{% search_form cl %}{% endblock %} + {% endblock %} + {% block extrastyle %} {{ block.super }} @@ -31,91 +60,3 @@ {% block bodyclass %}_change-list{% endblock %} {% block coltype %}flex{% endblock %} - -{% block object-tools %} - - {% if cl.has_filters %} - - {% endif %} - {% block search %}{% search_form cl %}{% endblock %} -{% endblock %} - -{% block content %} -{% block extra_search %}{% endblock %} -
{% csrf_token %} - -{% 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 %} - - -{% with app_name=cl.opts.module_name|lower|slugify %} - {% render_with_template_if_exist cl.opts.app_label|lower|add:"/admin_app_"|add:app_name|add:"_description.html" "" %} -{% endwith %} - -{% if action_form and actions_on_top and cl.full_result_count %} -
{% admin_actions %}
-{% endif %} - -
-
- {% block date_hierarchy %} - {% date_hierarchy cl %} - {% endblock %} - - {% if cl.formset %} -
{{ cl.formset.management_form }}
- {% endif %} - - {% block result_list %} - {% result_list cl %} - {% endblock %} -
-
-{# {% if cl.formset and cl.result_count %} #} - -{# {% endif %} #} - -{% block pagination %} - {% pagination cl %} -{% endblock %} -
-{% endblock %} - -