Bugzilla – Attachment 151409 Details for
Bug 33716
ILL - Allow for a disclaimer stage per request type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33716: (follow-up) Add cancel links and update breadcrumbs
Bug-33716-follow-up-Add-cancel-links-and-update-br.patch (text/plain), 5.34 KB, created by
Katrin Fischer
on 2023-05-18 12:31:16 UTC
(
hide
)
Description:
Bug 33716: (follow-up) Add cancel links and update breadcrumbs
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-05-18 12:31:16 UTC
Size:
5.34 KB
patch
obsolete
>From 3ed951fa70cf16c33cd826b6fafa15eb1373ae9b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 18 May 2023 11:21:38 +0000 >Subject: [PATCH] Bug 33716: (follow-up) Add cancel links and update > breadcrumbs > >For both staff interface and OPAC: >* Update breadcrumbs to have a new entry for the page >* Rename button From Next to submit >* Add a cancel link to back out > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/ill/ill-requests.tt | 10 +++++++++- > .../bootstrap/en/modules/opac-illrequests.tt | 14 +++++++++----- > 2 files changed, 18 insertions(+), 6 deletions(-) > >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 50b48990b7..db6ef16ff7 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 >@@ -34,6 +34,13 @@ > [% WRAPPER breadcrumb_item bc_active= 1 %] > <span>Manage request [% request.id_prefix _ request.illrequest_id | html %]</span> > [% END %] >+ [% ELSIF query_type == 'typedisclaimer' %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Request type disclaimer</span> >+ [% END %] > [% ELSE %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > <span>ILL requests</span> >@@ -851,7 +858,8 @@ > <input type="hidden" name="method" value="create" /> > <input type="hidden" name="stage" value="form"> > <input type="hidden" name="type_disclaimer_submitted" value="1"> >- <input type="submit" value="Next" /> >+ <input type="submit" value="Submit" /> >+ <a class="cancel" href="ill-requests.pl">Cancel</a> > </fieldset> > </form> > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >index 5e9cd95349..b49a94c4cd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >@@ -33,7 +33,7 @@ > [% END %] > > [% IF method != 'list' %] >- <li class="breadcrumb-item active"> >+ <li class="breadcrumb-item"> > <a href="/cgi-bin/koha/opac-illrequests.pl">Interlibrary loan requests</a> > </li> > [% IF method == 'create' %] >@@ -44,6 +44,10 @@ > <li class="breadcrumb-item active"> > <a href="#" aria-current="page">View interlibrary loan request</a> > </li> >+ [% ELSIF method == 'typedisclaimer' %] >+ <li class="breadcrumb-item active"> >+ <a href="#" aria-current="page">ILL request disclaimer</a> >+ </li> > [% END %] > [% ELSE %] > <li class="breadcrumb-item active"> >@@ -267,7 +271,7 @@ > <input type="hidden" name="checked_availability" value="1"> > <div id="continue-request-row" class="alert"> > If you can't find what you are looking for, you can >- <button class="button" type="submit">continue creating your request</button> or >+ <button class="button" class="btn btn-primary" type="submit">continue creating your request</button> or > <a href="/cgi-bin/koha/opac-illrequests.pl">cancel your request</a> > </div> > </form> >@@ -277,9 +281,8 @@ > [% END %] > </div> <!-- /#illrequestupdate-form --> > [% ELSIF method == 'typedisclaimer' %] >- <h1>Request type disclaimer</h1> >+ <h1>ILL request disclaimer</h1> > <div id="results" class="page-section"> >- <h3>Displaying typedisclaimer results</h3> > [% INCLUDE messages %] > <form method="post" id="typedisclaimer-form"> > <fieldset class="rows"> >@@ -310,7 +313,8 @@ > [% i = i + 1 %] > [% END %] > <input type="hidden" name="type_disclaimer_submitted" value="1"> >- <input type="submit" value="Next" /> >+ <input type="submit" class="btn btn-primary" value="Submit" /> >+ <a class="action" href="/cgi-bin/koha/opac-illrequests.pl">Cancel</a> > </fieldset> > </form> > </div> >-- >2.30.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 33716
:
151027
|
151031
|
151032
|
151033
|
151034
|
151035
|
151146
|
151147
|
151148
|
151149
|
151150
|
151388
|
151389
|
151390
|
151391
|
151392
|
151393
|
151394
|
151401
|
151402
|
151403
|
151404
|
151405
|
151406
|
151407
|
151408
|
151409
|
151410
|
151411
|
152809
|
152810
|
152811
|
152813
|
152814
|
152815
|
152816
|
152817
|
152818
|
152819
|
152820
|
152821
|
152822
|
152823
|
152826
|
154305
|
154454
|
154714