From f62b3faed78c4d7937012b917f275dc95b74ef59 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 19 Jan 2016 03:44:31 +0000 Subject: [PATCH] Bug 12051: Adds a Renew tab to the staff client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UPDATE: Added to checkin-search.inc to show up on returns.pl To test: 1) Apply patch 2) Confirm that there is now a Renew tab on the pages where there is also a Check-in tab only 3) Attempt to renew a book using this, confirm it works as expected 4) Check if I have missed any pages Signed-off-by: Marc VĂ©ron --- .../prog/en/includes/budgets-admin-search.inc | 1 + .../intranet-tmpl/prog/en/includes/cat-search.inc | 40 ++++++++++++-------- .../prog/en/includes/cataloging-search.inc | 11 +++++- .../prog/en/includes/checkin-search.inc | 13 ++++++- .../intranet-tmpl/prog/en/includes/circ-search.inc | 16 ++++++-- .../prog/en/includes/cities-admin-search.inc | 1 + .../prog/en/includes/contracts-admin-search.inc | 5 ++- .../prog/en/includes/currencies-admin-search.inc | 1 + .../intranet-tmpl/prog/en/includes/home-search.inc | 16 ++++++-- .../prog/en/includes/letters-search.inc | 1 + .../prog/en/includes/patron-search.inc | 10 ++++- .../prog/en/includes/patrons-admin-search.inc | 3 +- .../prog/en/includes/prefs-admin-search.inc | 1 + .../prog/en/includes/printers-admin-search.inc | 1 + .../prog/en/includes/serials-search.inc | 1 + .../prog/en/includes/suggestions-add-search.inc | 3 +- .../prog/en/includes/z3950-admin-search.inc | 1 + koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 1 + 18 files changed, 98 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc index 86d9b92..e1360bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc @@ -32,6 +32,7 @@ [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc index 4f1e2b9..07cb17b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc @@ -11,9 +11,20 @@ [% END %] +[% IF ( CAN_user_circulate ) %] + +[% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc index ab730ba..141561c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -10,7 +10,15 @@ -[% END %] + + +[% END %] [% IF ( CAN_user_catalogue ) %] [% END %] + +[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc index 41bfdc4..b44fecd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc @@ -19,6 +19,7 @@ [% END %] +