From ff3e660212a3fc34ace14694ea557eeb339882a1 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 17 May 2016 05:04:08 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 16532: Groups showing empty tables if no groups defined Content-Type: text/plain; charset="utf-8" EDIT: Same change for libraries To test: 1) Go to Admin -> Libraries and Groups 2) Notice empty tables if nothing defined 3) Apply patch and refresh page 4) Empty tables should not show 5) Add a new group 6) Confirm table shows correctly Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index b698a86..77356ac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -218,7 +218,7 @@ tinyMCE.init({ [% IF op == 'list' %]

Libraries

- [% IF libraries %] + [% IF libraries.count %] @@ -283,7 +283,7 @@ tinyMCE.init({ [% IF group_types %] [% FOREACH group_type IN group_types %]

[% IF group_type.categorytype == 'properties' %]Properties[% ELSIF group_type.categorytype == 'searchdomain' %]Search domain[% END %]

- [% IF group_type.categories %] + [% IF group_type.categories.size %]
-- 2.1.4