From ef421266e6606a5f00756f822e077756425aa7c1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize <martin.renvoize@ptfs-europe.com> Date: Thu, 10 Nov 2022 10:44:29 +0000 Subject: [PATCH] Bug 32165: Add page-section to ISBDdetail 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 --- .../prog/en/modules/catalogue/ISBDdetail.tt | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt index 1b92e5b512..c4063e9dbb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt @@ -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 @@ -61,20 +61,19 @@ [% END %] </h1> -[% 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 ( unknownbiblionumber ) %] + <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div> + [% ELSE %] + [% 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' %] -- 2.20.1