Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
admin Bug 9782: hide cancel button when importing MARC bibliographic frameworks 2013-08-28 15:42:30 +00:00
authorities Bug 5262: make authority plugin copy indicators to bib record 2013-08-14 17:17:22 +00:00
basket Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
batch
catalogue Bug 10349 - Don't show empty Descriptions/Title notes tabs in OPAC and staff 2013-09-08 01:48:48 +00:00
cataloguing Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
circ Bug 10721 - Improve DataTables configuration on transfers to receive report 2013-09-07 21:04:53 +00:00
course_reserves Bug 10634 - Use datatables for course details items table 2013-09-04 14:19:03 +00:00
errors
help Bug 10671: correct minor issues in course reserves help 2013-08-05 13:56:56 +00:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
members Bug 5652: (follow-up) include subtitle in hyperlink 2013-08-06 14:46:31 +00:00
offline_circ Bug 10288 - Fix a tiny typo on "Pending offline circulation actions" 2013-05-20 12:23:32 -07:00
patroncards Bug 9603 - Fix layout of Patron Card Creator Layout screen for display in IE 2013-09-04 18:15:51 +00:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 3134: (follow-up) improve ID and peport name sorting on saved reports page 2013-08-21 14:26:36 +00:00
reserve Bug 10247: show warning if hold blocked due to maxreserves syspre 2013-08-12 15:02:57 +00:00
reviews
rotating_collections
serials Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms
suggestion Bug 4907: make 'Organize by' filter in suggestions reflect selected option 2013-07-08 15:15:16 +00:00
tags Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 10170: expose more managed staged MARC strings to translation 2013-07-16 15:45:20 +00:00
virtualshelves Bug 9757: Remove duplicated action buttons. 2013-06-26 09:04:37 -07:00
z3950
about.tt Bug 7143: history.txt and about page updates 2013-09-07 20:47:22 +00:00
auth.tt Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
intranet-main.tt Bug 7875: Change the pending suggestion link in home page so that it directs to pending suggestions 2013-03-20 08:40:43 -04:00