Browse Source

Actions dos filtros

pull/159/head
Sesostris Vieira 3 years ago
parent
commit
3eae5af372
  1. 6
      sigi/templates/admin/actions.html
  2. 2
      sigi/templates/admin/change_list.html

6
sigi/templates/admin/actions.html

@ -23,11 +23,11 @@
{% if actions_selection_counter %} {% if actions_selection_counter %}
<span class="action-counter" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span> <span class="action-counter" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span>
{% if cl.result_count != cl.result_list|length %} {% if cl.result_count != cl.result_list|length %}
<span class="all">{{ selection_note_all }}</span> <span class="all hidden">{{ selection_note_all }}</span>
<span class="question"> <span class="question hidden">
<a href="#" title="{% trans "Click here to select the objects across all pages" %}">{% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktrans %}</a> <a href="#" title="{% trans "Click here to select the objects across all pages" %}">{% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktrans %}</a>
</span> </span>
<span class="clear"><a href="#">{% trans "Clear selection" %}</a></span> <span class="clear hidden"><a href="#">{% trans "Clear selection" %}</a></span>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}

2
sigi/templates/admin/change_list.html

@ -11,7 +11,7 @@
{% block breadcrumbs %} {% block breadcrumbs %}
{% block search %}{% search_form cl %}{% endblock %} {% block search %}{% search_form cl %}{% endblock %}
<form id="changelist-form" method="post"{% if cl.formset.is_multipart %} enctype="multipart/form-data"{% endif %} novalidate>{% csrf_token %} <form id="changelist-form" method="post"{% if cl.formset.is_multipart %} enctype="multipart/form-data"{% endif %} novalidate>{% csrf_token %}
<div class="breadcrumbs"> <div class="">
<div id="changelist-form"> <div id="changelist-form">
{% if action_form and actions_on_top and cl.show_admin_actions %} {% if action_form and actions_on_top and cl.show_admin_actions %}
{% admin_actions %} {% admin_actions %}

Loading…
Cancel
Save