[Koha-bugs] [Bug 29280] Add OPACStarRatings to opac-shelves.tt
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 21 18:22:25 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29280
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Although it was introduced for (and named for) user-related pages, the include
file user-star-ratings.inc could be used here, I think. Unless the ratings are
supposed to display, but not be interacted with?
If they are supposed to be interacted with, the template will need to include
the relevant JS:
[% IF ( Koha.Preference('OpacStarRatings') == 'all' ) %]
[% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %]
[% Asset.js("js/ratings.js") | $raw %]
[% END %]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list