From b2d1920f49f1d55ffc14933de2c3cb5bb8e59c22 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 Signed-off-by: Magnus Enger 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 @@ New ILL request [% END %] - - List requests - + [% IF query_type == 'illlist' %] + + Refresh + + [% ELSE %] + + List requests + + [% END %] [% END %] -- 2.11.0