Bug 10865: (follow-up) Move a li tag to avoid overlapping tags
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 12 Feb 2014 10:33:21 +0000 (11:33 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Apr 2014 22:18:25 +0000 (22:18 +0000)
With this patch, a li tag is empty (only using the bootstrap theme) if
the pref is disabled.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt

index 2f0fe36..de5cee5 100644 (file)
                                               <option value="itemcallnumber">Call number</option>
                                             </select>
                                         </li>
-                                        <li>
                                         [% IF (OpacAllowPublicListCreation) %]
-                                            <label for="category">Category:</label>
+                                            <li>
+                                                <label for="category">Category:</label>
                                                 <select name="category" id="category">
                                                     <option value="1">Private</option>
-                                                        <option value="2">Public</option>
+                                                    <option value="2">Public</option>
                                                 </select>
                                             </li>
                                             [% INCLUDE list_permissions %]