diff --git a/mayan/apps/main/templates/main/generic_list_horizontal_subtemplate.html b/mayan/apps/main/templates/main/generic_list_horizontal_subtemplate.html index 62bd40f5f8..ddcadc73b2 100644 --- a/mayan/apps/main/templates/main/generic_list_horizontal_subtemplate.html +++ b/mayan/apps/main/templates/main/generic_list_horizontal_subtemplate.html @@ -1,99 +1,13 @@ -{% load i18n %} -{% load static %} - -{% load attribute_tags %} -{% load pagination_tags %} -{% load navigation_tags %} -{% load non_breakable %} -{% load variable_tags %} - -{% if side_bar %} -
-

- {{ title }} -

-
-

-{% else %} - {% autopaginate object_list %} -

+

- {% ifnotequal page_obj.paginator.num_pages 1 %} - {% blocktrans with page_obj.start_index as start and page_obj.end_index as end and page_obj.paginator.object_list|length as total and page_obj.number as page_number and page_obj.paginator.num_pages as total_pages %}{{ title }} ({{ start }} - {{ end }} out of {{ total }}) (Page {{ page_number }} of {{ total_pages }}){% endblocktrans %} - {% else %} - {% blocktrans with page_obj.paginator.object_list|length as total %}{{ title }} ({{ total }}){% endblocktrans %} - {% endifnotequal %} + {{ title }}

-{% endif %} - - {% if object_list %} - {% if multi_select or multi_select_as_buttons %} - {% if multi_select_as_buttons %} - {% get_multi_item_links as multi_item_links %} - - {% else %} - {% with 'true' as form_hide_required_text %} - {% get_multi_item_links_form %} - {% endwith %} - - {% endif %} - {% endif %} - {% endif %} - - {% if scrollable_content %} -
- {% endif %} - - - {% if scrollable_content %} -
- {% endif %} - - {% if object_list %} - {% if multi_select or multi_select_as_buttons %} - {% if multi_select_as_buttons %} - {% get_multi_item_links as multi_item_links %} - - {% else %} - {% with 'true' as form_hide_required_text %} - {% get_multi_item_links_form %} - {% endwith %} - - {% endif %} - {% endif %} - {% endif %} - - {% paginate %} - - {% if side_bar %} -

- {% endif %}