From 903cf19f9ca5cc9a8effa776efd51321681dc583 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 1 Oct 2018 14:24:27 +0000 Subject: [PATCH] Bug 17602: (RM follow-up) QA tool issues Signed-off-by: Nick Clemens --- Koha/ExternalContent/RecordedBooks.pm | 16 ++++++++++++++-- .../en/includes/recordedbooks-checkout.inc | 4 ++-- .../en/modules/opac-recordedbooks-search.tt | 4 +++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Koha/ExternalContent/RecordedBooks.pm b/Koha/ExternalContent/RecordedBooks.pm index 1d07643d8d..c82fc41c3d 100644 --- a/Koha/ExternalContent/RecordedBooks.pm +++ b/Koha/ExternalContent/RecordedBooks.pm @@ -37,8 +37,8 @@ Koha::ExternalContent::RecordedBooks =head1 SYNOPSIS use Koha::ExternalContent::RecordedBooks; - my $od_client = Koha::ExternalContent::RecordedBooks->new(); - my $od_auth_url = $od_client->auth_url(); + my $rb_client = Koha::ExternalContent::RecordedBooks->new(); + my $rb_auth_url = $od_client->auth_url(); =head1 DESCRIPTION @@ -48,6 +48,18 @@ Takes "RecordedBooks*" Koha preferences =cut +=head2 Class Methods + +=cut + +=head3 new + +my $rb_client = Koha::ExternalContent::RecordedBooks->new(); + +Create the object for interacting with RecordedBooks + +=cut + sub new { my $class = shift; my $params = shift || {}; diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/recordedbooks-checkout.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/recordedbooks-checkout.inc index bebf3d48fa..d7d99aee36 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/recordedbooks-checkout.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/recordedbooks-checkout.inc @@ -1,6 +1,6 @@ diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt index 597310d80c..ec906132df 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt @@ -1,9 +1,11 @@ +[% USE raw %] +[% USE Asset %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › RecordedBooks search for '[% q | html %]' [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %] - +[% Asset.css("css/jquery.rating.css") | $raw %]