From 664e57bdfd82ffb44ecec0377ce38ddb93a77332 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 6 Jun 2011 17:21:36 -0400 Subject: [PATCH] Display multi item link on top of generic lists as well --- .../templates/generic_list_subtemplate.html | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/apps/common/templates/generic_list_subtemplate.html b/apps/common/templates/generic_list_subtemplate.html index 4a7e32a575..01626585ad 100644 --- a/apps/common/templates/generic_list_subtemplate.html +++ b/apps/common/templates/generic_list_subtemplate.html @@ -26,9 +26,33 @@ {% endif %}
-{% if scrollable_content %} -
-{% endif %} + + {% 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 %} + + {% if scrollable_content %} +
+ {% endif %} + {% if not hide_header %} @@ -106,9 +130,11 @@ {% endfor %}
-{% if scrollable_content %} -
-{% endif %} + + {% if scrollable_content %} +
+ {% endif %} + {% if multi_select or multi_select_as_buttons %} {% if multi_select_as_buttons %} {% get_multi_item_links as multi_item_links %}