Statistics
| Branch: | Revision:

root / env / lib / python2.7 / site-packages / django / contrib / admin / templates / admin / actions.html @ 1a305335

History | View | Annotate | Download (1.07 KB)

1
{% load i18n %}
2
<div class="actions">
3
    {% for field in action_form %}{% if field.label %}<label>{{ field.label }} {% endif %}{{ field }}{% if field.label %}</label>{% endif %}{% endfor %}
4
    <button type="submit" class="button" title="{% trans "Run the selected action" %}" name="index" value="{{ action_index|default:0 }}">{% trans "Go" %}</button>
5
    {% if actions_selection_counter %}
6
        <script type="text/javascript">var _actions_icnt="{{ cl.result_list|length|default:"0" }}";</script>
7
        <span class="action-counter">{{ selection_note }}</span>
8
        {% if cl.result_count != cl.result_list|length %}
9
        <span class="all">{{ selection_note_all }}</span>
10
        <span class="question">
11
            <a href="javascript:;" 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>
12
        </span>
13
        <span class="clear"><a href="javascript:;">{% trans "Clear selection" %}</a></span>
14
        {% endif %}
15
    {% endif %}
16
</div>