[Koha-patches] [PATCH] Bug 11090 - Bootstrap theme: CSS problem with suggestions toolbar links

Owen Leonard oleonard at myacpl.org
Tue Oct 22 18:44:13 CEST 2013


There is a problem with the style on the toolbar on the suggestions page
which makes it float incorrectly. This patch corrects the problem.

To test, log in to the OPAC as a user who has suggestions. The
selections toolbar (which shows the "select all," etc. controls) should
look correct.
---
 .../bootstrap/en/modules/opac-suggestions.tt       |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
index 93115b7..5178b75 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
@@ -127,14 +127,14 @@
                                 [% END %]
                                 <form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="myform">
                                     <input type="hidden" name="op" value="delete_confirm" />
-                                    <div id="toolbar" class="toolbar list-actions">
+                                    <div id="toolbar" class="toolbar clearfix">
                                         [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
                                             <a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a>
                                         [% END %]
                                     </div>
 
                                     [% IF ( loggedinusername ) %]
-                                        <div id="selections-toolbar" class="toolbar list-actions">
+                                        <div id="selections-toolbar" class="toolbar">
                                               <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
                                               <span class="links"><span id="selections">Select suggestions to: </span>
                                               <span id="removeitems"></span>
-- 
1.7.9.5


More information about the Koha-patches mailing list