Koha/koha-tmpl/opac-tmpl/prog
Owen Leonard f5c7badb31 Bug 10349 - Don't show empty Descriptions/Title notes tabs in OPAC and staff
The descriptions/title notes tab appears on the detail page in both
staff client and OPAC even if there are no notes. This is probably a
relic of the pre-T:T days when it wasn't possible to use || in an IF.
This patch adds a check for the various variables which might trigger
the display of the tab.

To test, apply the patch and view records in the OPAC and staff client
which do and do not have title notes attached (whether that be in the
MARC record or in the biblio.notes column). In the OPAC Syndetics
content should also be tested if possible. The descriptions/title notes
tab should only appear if there is content.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
That's better - thx Owen!
Works nicely and passes all tests.
Tested in staff and OPAC, also in combination with NotesBlacklist
hiding all notes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-08 01:48:48 +00:00
..
en Bug 10349 - Don't show empty Descriptions/Title notes tabs in OPAC and staff 2013-09-08 01:48:48 +00:00
images Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
itemtypeimg Revert "Merge branch 'bug_9025' into 3.12-master" 2013-03-18 10:05:09 -04:00