diff --git a/horilla_views/templates/generic/horilla_list.html b/horilla_views/templates/generic/horilla_list.html index 648235a04..0bb3d561a 100644 --- a/horilla_views/templates/generic/horilla_list.html +++ b/horilla_views/templates/generic/horilla_list.html @@ -25,6 +25,70 @@ {% endif %} +
+
+
+ +
+ {{toggle_form.as_list}} +
+
+
+
+
+
+
+ {% if bulk_select_option %} +
+
{% load static i18n generic_template_filters %} +
+ + + {% include "generic/export_fields_modal.html" %} + + + {% if show_filter_tags %} {% include "generic/filter_tags.html" %} {% endif %} + {% if queryset|length %} + {% if bulk_select_option %} + {% include "generic/quick_actions.html" %} + {% endif %} + +
@@ -203,13 +267,308 @@
{% for action in actions %} {% if action.accessibility|accessibility:instance %} - - + + {% endif %} + {% endfor %} +
+ {% else %} {{instance|getattribute:action_method|safe}} {% endif %} +
+ {% endif %} +
+ {% endfor %} +
+
+
+
+ {% if queryset.paginator.count %} +
+ {% trans "Page" %} {{queryset.number}} {% trans "of" %} + {{queryset.paginator.num_pages}} + + +
+ + {% if bulk_select_option %} + + {% endif %} + {% endif %} + + {% else %} + {% if row_status_indications %} +
+ {% for indication in row_status_indications %} + + + {{indication.1}} + + {% endfor %} +
+ {% endif %} +
+
+ Page not found. 404. +

{% trans "No Records found" %}

+

+ {% trans "No records found." %} +

+
+
+ {% endif %} +
+ + +
+
+ {% endif %} {% for cell in columns %} +
+
+ {{cell.0}} +
+
+ {% endfor %} {% if options or option_method%} +
+
+ {% trans "Options" %} +
+
+ {% endif %} {% if actions or action_method %} +
+
+ {% trans "Actions" %} +
+
+ {% endif %} +
+
+
+ {% for instance in queryset %} +
+ {% if bulk_select_option %} +
+
+ +
+
+ {% endif %} {% for cell in columns %} + {% with attribute=cell.1 index=forloop.counter %} {% if not cell.2 %} +
+ {{instance|getattribute:attribute|selected_format:request.user.employee_get.employee_work_info.company_id|safe}} +
+ {% else %} +
+
+
+ +
+ + {{instance|getattribute:attribute}} + +
+
+ {% endif %} {% endwith %} {% endfor %} {% if options or option_method %} +
+ {% if not option_method %} +
+ {% for option in options %} + {% if option.accessibility|accessibility:instance %} + + + + {% endif %} + {% endfor %} +
+ {% else %} {{instance|getattribute:option_method|safe}} {% endif %} +
+ {% endif %} {% if actions or action_method %} +
+ {% if not action_method %} +
+ {% for action in actions %} + {% if action.accessibility|accessibility:instance %} + {% endif %} {% endfor %}