mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-28 15:42:25 +00:00
Overwrite admin templates (4), thanks edpibu :)
This commit is contained in:
parent
b1758da49f
commit
0c49a3b077
1 changed files with 16 additions and 0 deletions
16
templates/admin/actions.html
Normal file
16
templates/admin/actions.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{# Please keep this template in sync with django/contrib/admin one #}
|
||||||
|
{% load i18n bootstrap3 %}
|
||||||
|
<div class="actions">
|
||||||
|
{% bootstrap_form action_form layout='inline' form_group_class='form-group-sm col-xs-4 row' %}
|
||||||
|
<button type="submit" class="btn btn-sm btn-default" title="{% trans "Run the selected action" %}" name="index" value="{{ action_index|default:0 }}">{% trans "Go" %}</button>
|
||||||
|
{% if actions_selection_counter %}
|
||||||
|
<span class="action-counter label label-info" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span>
|
||||||
|
{% if cl.result_count != cl.result_list|length %}
|
||||||
|
<span class="all label label-info">{{ selection_note_all }}</span>
|
||||||
|
<span class="question label label-primary">
|
||||||
|
<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 class="clear label label-warning"><a href="#">{% trans "Clear selection" %}</a></span>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
Loading…
Reference in a new issue