mirror of https://github.com/interlegis/sigi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
1.3 KiB
16 lines
1.3 KiB
{% load i18n %}
|
|
<div class="actions" style="display:inline-block;">
|
|
{% for field in action_form %}{% if field.label %}<span style="vertical-align:middle">{{ field.label }}</span> {% endif %}{{ field }}{% endfor %}
|
|
<button type="submit" class="btn btn-default btn-sm" title="{% trans "Run the selected action" %}" name="index" value="{{ action_index|default:0 }}">{% trans "Go" %}</button>
|
|
{% if actions_selection_counter %}
|
|
<script type="text/javascript">var _actions_icnt="{{ cl.result_list|length|default:"0" }}";</script>
|
|
<span class="action-counter" style="vertical-align:middle">{{ selection_note }}</span>
|
|
{% if cl.result_count != cl.result_list|length %}
|
|
<span class="all" style="vertical-align:middle">{{ selection_note_all }}</span>
|
|
<span class="question" style="vertical-align:middle">
|
|
<a class="btn" 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>
|
|
</span>
|
|
<span class="clear" style="vertical-align:middle"><a class="btn" href="javascript:;">{% trans "Clear selection" %}</a></span>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
|