From d201f2c31c3304195a39304f63c3682795fc5a29 Mon Sep 17 00:00:00 2001 From: Michael Price Date: Thu, 22 Feb 2018 21:30:27 -0400 Subject: [PATCH] Show horizontal on the list item template only when there are items present. Signed-off-by: Michael Price --- .../templates/appearance/generic_list_items_subtemplate.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html index ecc98c8079..192db9bf78 100644 --- a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html @@ -47,7 +47,9 @@ {% endif %} -
+ {% if object_list %} +
+ {% endif %} {% if scrollable_content %}
{% endif %}