Bug 34862: (follow-up) Fix some misplaced messages and add missing

This patch fixes some templates where the messages include was appearing
in the wrong place, for instance above the left-hand sidebar instead of
at the top of the main content.

The patch also adds the new include to some templates which lacked it.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2023-11-09 18:06:03 +00:00 committed by Katrin Fischer
parent e37ec44cb5
commit daeccd84c6
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
13 changed files with 14 additions and 14 deletions

View file

@ -33,6 +33,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-8 col-md-offset-2">
[% INCLUDE 'messages.inc' %]
<h1>Search history</h1>

View file

@ -35,7 +35,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -43,6 +42,7 @@
[% ELSE %]
<div class="col-md-12 col-lg-10 col-lg-offset-1">
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Checkout notes</h1>

View file

@ -53,9 +53,9 @@
<div class="main container-fluid">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
<div class="col-sm-10 col-sm-push-2">
[% INCLUDE 'messages.inc' %]
[% IF patron %]
[% INCLUDE 'members-toolbar.inc' %]

View file

@ -35,7 +35,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -43,6 +42,7 @@
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Pending on-site checkouts</h1>
[% IF pending_onsite_checkouts %]

View file

@ -35,7 +35,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -43,6 +42,7 @@
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% END %]
[% INCLUDE 'messages.inc' %]
[% IF error %]
<div class="dialog alert">

View file

@ -59,7 +59,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -67,6 +66,7 @@
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% END %]
[% INCLUDE 'messages.inc' %]
[% BLOCK all_checkin_messages %]
[% IF hold_auto_filled %]

View file

@ -41,17 +41,15 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
<div class="col-sm-10 col-sm-push-2">
<h1>Set library</h1>
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<h1>Set library</h1>
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Set library</h1>
[% IF ( updated ) %]

View file

@ -34,7 +34,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -42,6 +41,7 @@
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Transfers made to your library as of [% show_date | $KohaDates %]</h1>
[% IF ( branchesloop ) %]

View file

@ -49,7 +49,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF ( total || Koha.Preference('CircSidebar') ) %]
@ -57,6 +56,7 @@
[% ELSE %]
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Holds queue</h1>

View file

@ -36,7 +36,6 @@
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
[% IF Koha.Preference('CircSidebar') %]
@ -44,6 +43,7 @@
[% ELSE %]
<div class="col-sm-12">
[% END %]
[% INCLUDE 'messages.inc' %]
<h1>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]</h1>
<h2>

View file

@ -42,6 +42,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
[% INCLUDE 'messages.inc' %]
<h1>
[% IF list.patron_list_id %]
[% tx("Modify patron list '{list_name}'", { list_name = list.name }) | html %]

View file

@ -29,7 +29,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
[% INCLUDE 'messages.inc' %]
<h1>Upload plugin</h1>
[% IF ( ERRORS ) %]
<div class="dialog alert">

View file

@ -65,10 +65,10 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
<div class="row">
<div class="col-sm-12">
<main>
[% INCLUDE 'messages.inc' %]
<div class="row">
<div class="col-sm-8 col-sm-push-2">
[% INCLUDE 'messages.inc' %]
<h1>Tags</h1>
<form method="post" action="/cgi-bin/koha/tags/review.pl">
<h4>