Bugzilla – Attachment 90029 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.09 KB, created by
Magnus Enger
on 2019-05-23 13:01:56 UTC
(
hide
)
Description:
Bug 22099: Fixed ILL toolbar to say Refresh when displaying requests
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2019-05-23 13:01:56 UTC
Size:
2.09 KB
patch
obsolete
>From b2d1920f49f1d55ffc14933de2c3cb5bb8e59c22 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 >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Small conflict resolved. Works as advertised. >--- > 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 9499d7f0c4..03fec59ce1 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-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