From 541a03cf6daace451f78e614b8019382dcd52acc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 23 Feb 2016 20:41:57 +0000 Subject: [PATCH] Bug 15888 - Syndetics Reviews preference should not enable LibraryThing reviews To test: 1 - Enable Syndetics Reviews without a LibraryThing ID 2 - Check page source and note you have a stanza for LTFL tabbed reveiws 3 - Apply patch 4 - Reload page and note LTFL tabbed reviews are not present 5 - Enter a LibraryThing ID and not the tab is restored. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher --- .../bootstrap/en/modules/opac-detail.tt | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index e5db3ffd84..ebdac1251a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -558,16 +558,18 @@ [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
  • Excerpt
  • [% END %] - [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %] + [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
  • Reviews
  • -
  • - [% IF ( using_https ) %] - - - [% ELSE %] - - - [% END %] + [% IF ( LibraryThingForLibrariesID ) %] +
  • + [% IF ( using_https ) %] + + + [% ELSE %] + + + [% END %] + [% END %]
  • [% END %] [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] -- 2.39.5