Bugzilla – Attachment 51730 Details for
Bug 16532
Libraries and groups showing empty tables if nothing defined
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16532: Groups showing empty tables if no groups defined
Bug-16532-Groups-showing-empty-tables-if-no-groups.patch (text/plain), 1.59 KB, created by
Aleisha Amohia
on 2016-05-24 01:56:34 UTC
(
hide
)
Description:
Bug 16532: Groups showing empty tables if no groups defined
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-05-24 01:56:34 UTC
Size:
1.59 KB
patch
obsolete
>From 881ce831fd881169d26bd71163b3deaeb22b050a Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 17 May 2016 05:04:08 +0000 >Subject: [PATCH] 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 > >https://bugs.koha-community.org/show_bug.cgi?id=16532 >--- > 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' %] > <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> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16532
:
51558
|
51560
|
51561
|
51730
|
51767
|
51803