[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}}">
|
<h2 class="oh-modal__dialog-title" id="exportModalLable{{view_id|safe}}">
|
||||||
{% trans "Export" %} {{verbose_name}}
|
{% trans "Export" %} {{verbose_name}}
|
||||||
</h2>
|
</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>
|
<ion-icon name="close-outline"></ion-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -56,6 +56,7 @@
|
|||||||
0
|
0
|
||||||
</span>)
|
</span>)
|
||||||
</div>
|
</div>
|
||||||
|
{% if quick_export %}
|
||||||
<div
|
<div
|
||||||
id="export_{{view_id}}"
|
id="export_{{view_id}}"
|
||||||
class="oh-checkpoint-badge text-info d-none quick-bulk-action"
|
class="oh-checkpoint-badge text-info d-none quick-bulk-action"
|
||||||
@@ -73,7 +74,8 @@
|
|||||||
0
|
0
|
||||||
</span>)
|
</span>)
|
||||||
</div>
|
</div>
|
||||||
{% if bulk_path %}
|
{% endif %}
|
||||||
|
{% if bulk_path and bulk_update %}
|
||||||
<div
|
<div
|
||||||
id="bulk_udate_{{view_id}}"
|
id="bulk_udate_{{view_id}}"
|
||||||
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
||||||
@@ -103,6 +105,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if filter_selected %}
|
||||||
<div
|
<div
|
||||||
id="filter_selected_{{view_id}}"
|
id="filter_selected_{{view_id}}"
|
||||||
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
class="oh-checkpoint-badge text-warning d-none quick-bulk-action"
|
||||||
@@ -151,6 +154,7 @@
|
|||||||
{{request.actual_ids|length}}
|
{{request.actual_ids|length}}
|
||||||
</span>)
|
</span>)
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for filter in stored_filters %}
|
{% for filter in stored_filters %}
|
||||||
<div class="oh-hover-btn-container"
|
<div class="oh-hover-btn-container"
|
||||||
|
|||||||
Reference in New Issue
Block a user