Bug 32165: Add page-section to ISBDdetail
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 10 Nov 2022 10:44:29 +0000 (10:44 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 10 Nov 2022 17:45:41 +0000 (14:45 -0300)
We fix some whitespace and move the toolbar above the H1 too.

Test plan
1) Confirm the headings and page-sections now look correct on the ISBD
   details view

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt

index 1b92e5b..f04d5d6 100644 (file)
@@ -52,7 +52,7 @@
     <div class="row">
         <div class="col-sm-10 col-sm-push-2">
             <main>
-
+               [% INCLUDE 'cat-toolbar.inc' %]
                 <h1>
                     [% IF ( unknownbiblionumber ) %]
                         Unknown record
                     [% END %]
                 </h1>
 
-[% IF ( unknownbiblionumber ) %]
-    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
-[% ELSE %]
+                [% IF ( unknownbiblionumber ) %]
+                    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
+                [% ELSE %]
 
-       [% INCLUDE 'cat-toolbar.inc' %]
-    [% IF ( ocoins ) %]
-    <!-- COinS / OpenURL -->
-    <span class="Z3988" title="[% ocoins | html %]"></span>
-    [% END %]
-         <div id="catalogue_ISBDdetail">
-          [% ISBD | $raw %]
-         </div>
-[% END %]
+                    [% IF ( ocoins ) %]
+                    <!-- COinS / OpenURL -->
+                    <span class="Z3988" title="[% ocoins | html %]"></span>
+                    [% END %]
 
+                    <div id="catalogue_ISBDdetail" class="page-section">
+                        [% ISBD | $raw %]
+                       </div>
+                [% END %]
             </main>
         </div> <!-- /.col-sm-10.col-sm-push-2 -->
 
@@ -83,7 +82,7 @@
                 [% INCLUDE 'biblio-view-menu.inc' %]
             </aside>
         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
-     </div> <!-- /.row -->
+    </div> <!-- /.row -->
 
 [% MACRO jsinclude BLOCK %]
     [% INCLUDE 'catalog-strings.inc' %]