Bug 19960: Update popup window templates to use Bootstrap grid: Add to list
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 Jan 2018 18:53:33 +0000 (18:53 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Feb 2018 16:30:23 +0000 (13:30 -0300)
This patch updates add-to-list template to use the Bootstrap grid
instead of the YUI grid.

To test, open the detail page for a bibliographic record in the staff
client and choose "Add to -> List." The resulting pop-up window should
look correct.

Signed-off-by: Zoe Bennett <zoebennett1308@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt

index 3635a7a..2c12401 100644 (file)
@@ -1,11 +1,10 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Add to list</title>
 [% INCLUDE 'doc-head-close.inc' %]
-<style type="text/css">
-   #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; }
-   </style>
 </head>
+
 <body id="lists_addbybiblionumber" class="lists">
+    <div class="container-fluid">
 
 [% UNLESS (authorized) %]
     <p align="center">
@@ -14,8 +13,7 @@
         <a href="javascript:self.close();">Close this window.</a>
     </p>
 [% ELSE %]
-<div id="custom-doc" class="yui-t7">
-   <div id="bd">
+
                 [% IF ( multiple ) %]
                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html%]</em>: [% ELSE %]a list:[% END %]</h1>
                 [% ELSE %]
                </form>
 <!-- /SAVE -->
 
-</div>
 [% SET popup_window = 1 %]
 [% INCLUDE 'intranet-bottom.inc' %]
 [% END %]