Bugzilla – Attachment 86839 Details for
Bug 22099
"List requests" button displays when listing requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22099: Fixed ILL toolbar to say Refresh when displaying requests
Bug-22099-Fixed-ILL-toolbar-to-say-Refresh-when-di.patch (text/plain), 2.00 KB, created by
Hayley Pelham
on 2019-03-21 01:54:41 UTC
(
hide
)
Description:
Bug 22099: Fixed ILL toolbar to say Refresh when displaying requests
Filename:
MIME Type:
Creator:
Hayley Pelham
Created:
2019-03-21 01:54:41 UTC
Size:
2.00 KB
patch
obsolete
>From b2334ddc5e5be9601841e60c44109d92961f214a Mon Sep 17 00:00:00 2001 >From: Hayley Mapley <hayleymapley@catalyst.net.nz> >Date: Thu, 21 Mar 2019 14:39:59 +1300 >Subject: [PATCH] Bug 22099: Fixed ILL toolbar to say Refresh when displaying > requests > >On the ILL requests page that lists all requests, the List Request >button is displayed as part of the ILL toolbar. This patch fixes this by >instead changing the wording of the button to Refresh when on the main >page. > >Test plan: >1) More -> ILL Requests, note that the List Requests button displays >while all the requests are already displayed >2) Apply the patch and restart things >3) More -> ILL Requests, note that the button now says Refresh, and >clicking it refreshes the page >4) Check that on all the other functions of the ILLs the button says >List Requests >5) Sign off! > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc >index f3ef56c74b..971aacb839 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc >@@ -23,8 +23,14 @@ > <i class="fa fa-plus"></i> New ILL request > </a> > [% END %] >- <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl"> >- <i class="fa fa-list"></i> List requests >- </a> >+ [% IF query_type == 'illlist' %] >+ <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl"> >+ <i class="fa fa-list"></i> Refresh >+ </a> >+ [% ELSE %] >+ <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl"> >+ <i class="fa fa-list"></i> List requests >+ </a> >+ [% END %] > </div> > [% END %] >-- >2.11.0
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 22099
:
86839
|
90029
|
90137