Bugzilla – Attachment 180394 Details for
Bug 38669
Staff interface: Automatic backend screen should provide option to go back to form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38669: Add 'Return to form' button at top of auto backend screen
Bug-38669-Add-Return-to-form-button-at-top-of-auto.patch (text/plain), 2.61 KB, created by
Pedro Amorim
on 2025-04-02 14:11:52 UTC
(
hide
)
Description:
Bug 38669: Add 'Return to form' button at top of auto backend screen
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-04-02 14:11:52 UTC
Size:
2.61 KB
patch
obsolete
>From 221d1129bc76563297075afb715c30520f83fb28 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 10 Dec 2024 17:16:21 +0000 >Subject: [PATCH] Bug 38669: Add 'Return to form' button at top of auto backend > screen > >Follow test plan from bug 35604, but notice you now have the possibility to return to the form > >Sponsored-by: UKHSA - UK Health Security Agency >Sponsored-by: PTFS Europe Ltd <https://ptfs-europe.com> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/modules/ill/ill-requests.tt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index ff5d074685a..526692c41ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -857,6 +857,25 @@ > <!-- confirmautoill --> > <h1>Confirm request</h1> > <div id="results" class="page-section"> >+ <form method="post" id="confirmautoill-goback-form"> >+ [% FOREACH key IN whole.keys %] >+ [% value = whole.$key %] >+ [% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] >+ <input type="hidden" name="[% key | html %]" value="[% value | html %]" /> >+ [% END %] >+ [% END %] >+ [% custom_keys = whole.custom_key.split('\0') %] >+ [% custom_values = whole.custom_value.split('\0') %] >+ [% i = 0 %] >+ [% FOREACH custom_key IN custom_keys %] >+ <input type="hidden" name="custom_key" value="[% custom_key | html %]" /> >+ <input type="hidden" name="custom_value" value="[% custom_values.$i | html %]" /> >+ [% i = i + 1 %] >+ [% END %] >+ <input type="hidden" name="method" value="create" /> >+ <input type="hidden" name="stage" value="0" /> >+ <button type="submit" class="btn btn-link" onclick="this.form.submit()"> <i class="fa fa-arrow-left"></i> Return to form </button> >+ </form> > <form method="post" id="confirmautoill-form"> > [% INCLUDE 'csrf-token.inc' %] > <fieldset class="rows"> >-- >2.39.5
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 38669
:
175360
|
175473
|
176277
|
176571
|
176812
|
179730
|
179731
|
179732
|
179737
|
179738
|
179739
|
180394
|
180395
|
180396
|
180466
|
180467
|
180468