Bug 16532: Groups showing empty tables if no groups defined
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 <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ca36a74c86)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
7626ecedc8
commit
1f9e53f81c
|
|
@ -218,7 +218,7 @@ tinyMCE.init({
|
|||
|
||||
[% IF op == 'list' %]
|
||||
<h3>Libraries</h3>
|
||||
[% IF libraries %]
|
||||
[% IF libraries.count %]
|
||||
<table id="branchest">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -283,7 +283,7 @@ tinyMCE.init({
|
|||
[% IF group_types %]
|
||||
[% FOREACH group_type IN group_types %]
|
||||
<h3>[% IF group_type.categorytype == 'properties' %]Properties[% ELSIF group_type.categorytype == 'searchdomain' %]Search domain[% END %]</h3>
|
||||
[% IF group_type.categories %]
|
||||
[% IF group_type.categories.size %]
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue