Bug 17602: (RM follow-up) QA tool issues
authorNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 14:24:27 +0000 (14:24 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 16:12:20 +0000 (16:12 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/ExternalContent/RecordedBooks.pm
koha-tmpl/opac-tmpl/bootstrap/en/includes/recordedbooks-checkout.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt

index 1d07643..c82fc41 100644 (file)
@@ -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 || {};
index bebf3d4..d7d99ae 100644 (file)
@@ -1,6 +1,6 @@
 <div id="recordedbooks-checkout" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="recordedbooks-checkout-label" aria-hidden="true">
     <div class="modal-header">
-        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
+        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
         <h3 id="recordedbooks-checkout-label">Checkout</h3>
     </div>
     <form action="#" method="post" id="recordedbooks-checkout-form">
@@ -8,7 +8,7 @@
                 <input type="hidden" name="id" value="" />
         </div>
         <div class="modal-footer">
-            <input type="submit" class="btn btn-primary recordedbooks-checkout-submit" value="Checkout" />
+            <input type="submit" class="btn btn-default recordedbooks-checkout-submit" value="Checkout" />
             <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
         </div>
     </form> <!-- /#recordedbooks-checkout-form -->
index 597310d..ec90613 100644 (file)
@@ -1,9 +1,11 @@
+[% USE raw %]
+[% USE Asset %]
 [% USE Koha %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; RecordedBooks search for '[% q | html %]'</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% BLOCK cssinclude %]
-<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />
+[% Asset.css("css/jquery.rating.css") | $raw %]
 <style>
 .actions a.addtocart {
     display: inline;