From b2334ddc5e5be9601841e60c44109d92961f214a Mon Sep 17 00:00:00 2001 From: Hayley Mapley 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 @@ New ILL request [% END %] - - List requests - + [% IF query_type == 'illlist' %] + + Refresh + + [% ELSE %] + + List requests + + [% END %] [% END %] -- 2.11.0