Bugzilla – Attachment 162265 Details for
Bug 35813
When placing a booking, we should feedback successful placements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35813: Migrate 'transient_result' to 'messages.inc'
Bug-35813-Migrate-transientresult-to-messagesinc.patch (text/plain), 5.43 KB, created by
Martin Renvoize (ashimema)
on 2024-02-19 09:51:43 UTC
(
hide
)
Description:
Bug 35813: Migrate 'transient_result' to 'messages.inc'
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-02-19 09:51:43 UTC
Size:
5.43 KB
patch
obsolete
>From e0198f76b583d61ec6d1f32c21da923ab54c7b44 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 19 Feb 2024 09:50:22 +0000 >Subject: [PATCH] Bug 35813: Migrate 'transient_result' to 'messages.inc' > >This patch DRY's out the code by migrating the transient_result div into >the now widely included messages.inc include. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 2 +- > .../intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt | 3 +-- > .../intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt | 1 - > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 3 +-- > .../prog/en/modules/catalogue/labeledMARCdetail.tt | 1 - > .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 1 - > 7 files changed, 4 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc >index 235fbf6ff05..4c385e4e1a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc >@@ -1 +1,2 @@ > [% INCLUDE 'blocking_errors.inc' %] >+<div id="transient_result"></div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >index a259ad863eb..7fdb9cc5851 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt >@@ -38,7 +38,7 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > <div class="row"> >- <div id="transient_result"></div> >+ [% INCLUDE 'messages.inc' %] > [% INCLUDE 'cat-toolbar.inc' %] > <h1>Bookings for [% INCLUDE 'biblio-title-head.inc' %]</h1> > <div class="page-section" id="bookings-timeline"></div> >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 736045f9797..c3f5e918258 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt >@@ -48,8 +48,7 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > [% INCLUDE 'messages.inc' %] >- <div id="transient_result"></div> >- [% INCLUDE 'cat-toolbar.inc' %] >+ [% INCLUDE 'cat-toolbar.inc' %] > <h1> > [% IF ( unknownbiblionumber ) %] > Unknown record >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >index 06eea4f4072..ef6588157df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >@@ -55,7 +55,6 @@ > <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div> > [% ELSE %] > >-<div id="transient_result"></div> > [% INCLUDE 'cat-toolbar.inc' %] > > [% UNLESS ( popup ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 1f7dfb2d44a..3152c08b52c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -80,8 +80,8 @@ > <div class="row"> > <div class="col-sm-10 col-sm-push-2"> > <main> >- [% INCLUDE 'messages.inc' %] > <div class="row"> >+ [% INCLUDE 'messages.inc' %] > > [% IF ( unknownbiblionumber ) %] > <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div> >@@ -92,7 +92,6 @@ > [% CoceHost = Koha.Preference('CoceHost') %] > [% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] > >-<div id="transient_result"></div> > [% INCLUDE 'cat-toolbar.inc' %] > [% IF ( ocoins ) %] > <!-- COinS / OpenURL --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt >index 6599c12f7f9..48b616b1d65 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt >@@ -47,7 +47,6 @@ > [% IF ( unknownbiblionumber ) %] > <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div> > [% ELSE %] >- <div id="transient_result"></div> > [% INCLUDE 'cat-toolbar.inc' %] > > <h1> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >index bedb4fbb7c9..3ed6763cc72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -42,7 +42,6 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > [% INCLUDE 'messages.inc' %] >- <div id="transient_result"></div> > [% INCLUDE 'cat-toolbar.inc' %] > > <h1>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h1> >-- >2.43.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35813
:
161048
|
161058
|
161059
|
161086
|
161087
|
162263
|
162264
|
162265
|
163561
|
163562
|
163563
|
166579
|
166580
|
166581