[UPDT] HORILLA VIEWS: Conditional quick actions'
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<h2 class="oh-modal__dialog-title" id="exportModalLable{{view_id|safe}}">
|
||||
{% trans "Export" %} {{verbose_name}}
|
||||
</h2>
|
||||
<button class="oh-modal__close" aria-label="Close">
|
||||
<button onclick="$(this).closest('.oh-modal--show').removeClass('oh-modal--show')" class="oh-modal__close" aria-label="Close">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
0
|
||||
</span>)
|
||||
</div>
|
||||
{% if quick_export %}
|
||||
<div
|
||||
id="export_{{view_id}}"
|
||||
class="oh-checkpoint-badge text-info d-none quick-bulk-action"
|
||||
@@ -73,7 +74,8 @@
|
||||
0
|
||||
</span>)
|
||||
</div>
|
||||
{% if bulk_path %}
|
||||
{% endif %}
|
||||
{% if bulk_path and bulk_update %}
|
||||
<div
|
||||
id="bulk_udate_{{view_id}}"
|
||||
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
||||
@@ -103,6 +105,7 @@
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if filter_selected %}
|
||||
<div
|
||||
id="filter_selected_{{view_id}}"
|
||||
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
||||
@@ -151,6 +154,7 @@
|
||||
{{request.actual_ids|length}}
|
||||
</span>)
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% for filter in stored_filters %}
|
||||
<div class="oh-hover-btn-container"
|
||||
|
||||
Reference in New Issue
Block a user