Bugzilla – Attachment 175360 Details for
Bug 38669
ILL - Staff: 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.64 KB, created by
Pedro Amorim
on 2024-12-10 17:33:15 UTC
(
hide
)
Description:
Bug 38669: Add 'Return to form' button at top of auto backend screen
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-12-10 17:33:15 UTC
Size:
2.64 KB
patch
obsolete
>From d3b74ccf40d64d20c832c7d3b55d630880a02a9e 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 >--- > .../prog/en/modules/ill/ill-requests.tt | 21 +++++++++++++++++++ > 1 file changed, 21 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 60b8a4a62da..0097b4c3210 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 >@@ -940,6 +940,27 @@ > <!-- confirmautoill --> > <h1>Confirm automatic 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></span> Return to form >+ </button> >+ </form> > <form method="post" id="confirmautoill-form"> > <fieldset class="rows"> > <h3>Confirm backend:</h3> >-- >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