From 7e42bb7f3805aaf3fadfba2795d87b0b5934aa43 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Jul 2013 10:18:49 +0200 Subject: [PATCH] Bug 10125: Babeltheque does not depend on OpacStarRatings. We have to load star ratings js and css file if Babeltheque is enabled and OpacStarRatings is disabled. Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index 91506246e5..0df0322c53 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -1,3 +1,4 @@ +[% USE Koha %] [% SET TagsShowEnabled = ( TagsEnabled && TagsShowOnList ) %] [% SET TagsInputEnabled = ( opacuserlogin && TagsEnabled && TagsInputOnList ) %] @@ -10,8 +11,10 @@ [% END %] [% INCLUDE 'doc-head-close.inc' %] -[% IF ( OpacStarRatings == 'all' ) %] -[% END %] +[% IF OpacStarRatings == 'all' || Koha.Preference('Babeltheque') %] + + +[% END %] [% IF ( OpacHighlightedWords ) %] -- 2.39.5