Bugzilla – Attachment 79680 Details for
Bug 17602
Integrate support for RecordedBooks (formerly OneClickDigital) API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17602: Use Asset TT plugin and fix indentation
Bug-17602-Use-Asset-TT-plugin-and-fix-indentation.patch (text/plain), 3.13 KB, created by
Jonathan Druart
on 2018-09-30 23:26:59 UTC
(
hide
)
Description:
Bug 17602: Use Asset TT plugin and fix indentation
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-09-30 23:26:59 UTC
Size:
3.13 KB
patch
obsolete
>From c5a444549cb3261a74136c1635dc8364f9f2ec3e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Jun 2018 15:04:03 -0300 >Subject: [PATCH] Bug 17602: Use Asset TT plugin and fix indentation > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../en/modules/opac-recordedbooks-search.tt | 4 ++-- > .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 28 +++++++++++----------- > 2 files changed, 16 insertions(+), 16 deletions(-) > >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 aa604abea7..597310d80c 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 >@@ -59,8 +59,8 @@ > > [% INCLUDE 'opac-bottom.inc' %] > [% BLOCK jsinclude %] >-<script type="text/javascript" src="[% interface %]/[% theme %]/js/recordedbooks_[% KOHA_VERSION %].js"></script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating_[% KOHA_VERSION %].js"></script> >+[% Asset.js("js/recordedbooks.js") %] >+[% Asset.js("lib/jquery/plugins/jquery.rating.js") %] > <script type="text/javascript"> > var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) |html %]"; > var results_per_page = [% OPACnumSearchResults || 20 %]; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 61c2832af7..dfe687c97c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -1074,19 +1074,19 @@ > </script> > [% END %] > [% IF RecordedBooksCirculation %] >- <script type="text/javascript" src="[% interface %]//[% theme %]/js/recordedbooks_[% KOHA_VERSION %].js"></script> >- <script type="text/JavaScript"> >- $(document).ready(function() { >- [% IF ( recordedbooks_error ) %] >- KOHA.RecordedBooks.display_error("#opac-user-recordedbooks", "[% recordedbooks_error.dquote %]"); >- [% END %] >- [% IF ( recordedbooks_tab ) %] >- $("#opac-user-views").tabs("select", "#opac-user-recordedbooks"); >- [% END %] >- $("#opac-user-recordedbooks").each( function() { >- KOHA.RecordedBooks.display_account_details(this); >- } ); >- }); >+ [% Asset.js("js/recordedbooks.js") %] >+ <script type="text/JavaScript"> >+ $(document).ready(function() { >+ [% IF ( recordedbooks_error ) %] >+ KOHA.RecordedBooks.display_error("#opac-user-recordedbooks", "[% recordedbooks_error.dquote %]"); >+ [% END %] >+ [% IF ( recordedbooks_tab ) %] >+ $("#opac-user-views").tabs("select", "#opac-user-recordedbooks"); >+ [% END %] >+ $("#opac-user-recordedbooks").each( function() { >+ KOHA.RecordedBooks.display_account_details(this); >+ } ); >+ }); >+ </script> > [% END %] >- </script> > [% END %] >-- >2.11.0
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 17602
:
57402
|
57403
|
57404
|
60855
|
60856
|
60857
|
61866
|
61932
|
62247
|
62248
|
62249
|
62250
|
63392
|
63778
|
63779
|
63780
|
63857
|
64070
|
64071
|
64095
|
64096
|
64098
|
64099
|
64100
|
65988
|
65989
|
66341
|
66342
|
66343
|
67236
|
67237
|
67238
|
67240
|
67859
|
67860
|
69019
|
69020
|
69021
|
69022
|
69023
|
69024
|
69025
|
69026
|
69027
|
69101
|
69357
|
69358
|
69359
|
73708
|
73709
|
73710
|
73711
|
73712
|
73713
|
73714
|
73715
|
73716
|
73717
|
73718
|
73719
|
73725
|
76180
|
76181
|
76182
|
76183
|
76184
|
76185
|
76186
|
76187
|
76188
|
76189
|
76190
|
76191
|
76192
|
76193
|
78602
|
78603
|
78604
|
78605
|
78606
|
78607
|
78608
|
78609
|
78610
|
78611
|
78612
|
78613
|
78614
|
78615
|
79247
|
79668
|
79669
|
79670
|
79671
|
79672
|
79673
|
79674
|
79675
|
79676
|
79677
|
79678
|
79679
| 79680 |
79681
|
79682
|
79752