Bug 12271: (follow-up) fix minor errors in Bootstrap theme
authorGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 16:25:53 +0000 (16:25 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 16:25:53 +0000 (16:25 +0000)
To test:

[1] Verify that prove -v xt/author/valid-templates.t passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/search/results.tt

index 82bee0e..c0b37f2 100644 (file)
@@ -239,11 +239,11 @@ href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
                                                                     [% END %]
                                                                 [% END %]
 
-                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
+                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
                                                                     <input type="checkbox" name="biblionumber" value="[% GROUP_RESULT.biblionumber %]" title="Click to add to cart" /> <label for="bib[% GROUP_RESULT.biblionumber %]">
                                                                 [% END %]
                                                                 <img src="[% themelang %]/images/[% GROUP_RESULT.itemtype %].gif" alt="[% GROUP_RESULT.ccode %]" title="[% GROUP_RESULT.ccode %]" />
-                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) = 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]</label>[% END %]
+                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) = 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]</label>[% END %]
                                                                 [% IF ( GROUP_RESULT.classification ) %]
                                                                     <a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% GROUP_RESULT.classification |url %]"> [% GROUP_RESULT.classification %] </a>
                                                                 [% END %]
@@ -356,4 +356,4 @@ function highlightOn() {
 }
 //]]>
 </script>
-[% END %]
\ No newline at end of file
+[% END %]
index f8b300d..6ad8977 100644 (file)
@@ -9,7 +9,9 @@
 [% 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 %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
 <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script>
+[% BLOCK cssinclude %]
 <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>
 
 </div>
 
 [% INCLUDE 'opac-bottom.inc' %]
+[% BLOCK jsinclude %][% END %]