Bugzilla – Attachment 19468 Details for
Bug 10125
Babeltheque star image must use sprite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10125: Babeltheque does not depend on OpacStarRatings.
Bug-10125-Babeltheque-does-not-depend-on-OpacStarR.patch (text/plain), 2.02 KB, created by
Jonathan Druart
on 2013-07-08 08:26:21 UTC
(
hide
)
Description:
Bug 10125: Babeltheque does not depend on OpacStarRatings.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-07-08 08:26:21 UTC
Size:
2.02 KB
patch
obsolete
>From 56c5d1557911c94d00f598ec8eeda485616683fe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >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 <jonathan.druart@biblibre.com> >--- > 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 9150624..0df0322 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' %] > <link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS Feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" /> >-[% IF ( OpacStarRatings == 'all' ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.rating.js"></script> >-<link rel="stylesheet" type="text/css" href="[% themelang %]/css/jquery.rating.css" />[% END %] >+[% IF OpacStarRatings == 'all' || Koha.Preference('Babeltheque') %] >+ <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.rating.js"></script> >+ <link rel="stylesheet" type="text/css" href="[% themelang %]/css/jquery.rating.css" /> >+[% END %] > > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > [% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.highlight-3.js"></script> >-- >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 10125
:
19381
|
19451
|
19467
| 19468