Bug 19952: Update popup window templates to use Bootstrap grid: UNIMARC cataloging...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 Jan 2018 13:56:11 +0000 (13:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:32:23 +0000 (12:32 -0300)
This patch updates two UNIMARC cataloging plugin templates to use the
Bootstrap grid instead of the YUI grid.

- unimarc_field_210c_bis.tt
- unimarc_field_686a.tt

To test you do not need a UNIMARC system.

Apply the patch and for each plugin, configure a MARC subfield (e.g.
100$a) to use that plugin.

From the MARC edit page, trigger the plugin and confirm that the
page in the popup window looks correct. Confirm that changes made in the
popup window are saved to the corresponding field in the editor.

Signed-off-by: Te Rauhina Jackson <terauhina.jackson@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/cataloguing/value_builder/unimarc_field_210c_bis.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_686a.tt

index f48f993..76b3ffc 100644 (file)
@@ -8,9 +8,7 @@
 </head>
 
 <body id="cat_unimarc_field_210c_bis" class="cat">
-
-<div id="custom-doc" class="yui-t7">
-   <div id="bd">
+    <div class="container-fluid">
 
 <h1>UNIMARC field 210c builder</h1>
 <div class="autocomplete">
@@ -25,8 +23,6 @@
             </div>
         </form>
     </div>
-</div>
-</div>
 
 [% MACRO jsinclude BLOCK %]
     <script type="text/javascript">
index 4c59985..e426ac8 100644 (file)
@@ -1,16 +1,13 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>UNIMARC field 686a builder</title>
 [% INCLUDE 'doc-head-close.inc' %]
-<style type="text/css">
-#custom-doc { width:51.46em;*width:50.17em;min-width:675px; margin:auto; text-align:left; }
-</style>
 </head>
-<body id="cat_unimarc_field_686a" class="cat" style="padding:1em;">
+
+<body id="cat_unimarc_field_686a" class="cat">
+    <div class="container-fluid">
+
 <h3>UNIMARC field 686a builder</h3>
-<div id="custom-doc" class="yui-t7">
-   <div id="bd">
-       <div id="yui-main">
-       <div class="yui-b"><div class="yui-g">
+
                <h1>Classification</h1>
                <p>Please select a value in the classification. This will copy the 686$a field value from the authority record to the 686$a field of the bibliographic record.</p>
                <form name="f" method="get" action="../authorities/auth_finder.pl">
@@ -69,9 +66,5 @@
                 </li></ol></fieldset>
             <fieldset class="action"> <input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
                </form>
-       </div>
-       </div>
-   </div>
-</div>
-</div>
+
 [% INCLUDE 'popup-bottom.inc' %]