Bug 21505: Box around 'Additional fields' does not contain the fields
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Oct 2018 18:05:04 +0000 (18:05 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 17:27:39 +0000 (17:27 +0000)
This patch modifies the subscription detail page markup to eliminate a
confusing bordered <legend> tag. It is replaced with an <hr> to
delineate the sections and an <h3> tag to serve as the heading.

To test, apply the patch and regenerate the staff client CSS.

 - Configure one or more additional subscription fields.
 - View the detail page for a subscription and confirm that the
   "Additional fields" section is clearly labeled.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt

index 3a7dd03..a2cb7d4 100644 (file)
      </div>
      </div>
 
-     [% IF additional_fields_for_subscription %]
+    [% IF additional_fields_for_subscription %]
+    <hr>
     <div class="row">
       <div class="col-sm-6">
+        <h3>Additional fields:</h3>
         <div class="rows">
-          <legend>Additional fields:</legend>
           <ol>
             [% FOR field IN additional_fields_for_subscription %]
               <li>