From b77d2b985cd380ed8b506f23f65b1d5147c07113 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 To test: 1) Apply patch 2) Confirm that there is now a Renew tab on every page 3) Attempt to renew a book using this, confirm it works as expected 4) Check if I have missed any pages Followed test plan, works as expected. Signed-off-by: Marc VĂ©ron --- .../prog/en/includes/budgets-admin-search.inc | 13 ++++++++++++- .../intranet-tmpl/prog/en/includes/cat-search.inc | 15 +++++++++++++-- .../prog/en/includes/cataloging-search.inc | 11 ++++++++++- .../intranet-tmpl/prog/en/includes/checkin-search.inc | 13 ++++++++++++- .../intranet-tmpl/prog/en/includes/circ-search.inc | 12 +++++++++++- .../prog/en/includes/cities-admin-search.inc | 13 ++++++++++++- .../prog/en/includes/contracts-admin-search.inc | 13 ++++++++++++- .../prog/en/includes/currencies-admin-search.inc | 13 ++++++++++++- .../intranet-tmpl/prog/en/includes/home-search.inc | 16 +++++++++++++--- .../intranet-tmpl/prog/en/includes/letters-search.inc | 13 ++++++++++++- .../intranet-tmpl/prog/en/includes/patron-search.inc | 10 +++++++++- .../prog/en/includes/patrons-admin-search.inc | 15 +++++++++++++-- .../prog/en/includes/prefs-admin-search.inc | 13 ++++++++++++- .../prog/en/includes/printers-admin-search.inc | 13 ++++++++++++- .../intranet-tmpl/prog/en/includes/serials-search.inc | 13 ++++++++++++- .../prog/en/includes/suggestions-add-search.inc | 13 ++++++++++++- .../prog/en/includes/z3950-admin-search.inc | 13 ++++++++++++- koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 1 + 18 files changed, 202 insertions(+), 21 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..fd92050 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,10 +32,21 @@ [% END %] + + [% IF ( CAN_user_circulate ) %] + [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc index 6eae193..ca484d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc @@ -22,11 +22,22 @@ [% END %] + + [% IF ( CAN_user_circulate ) %] + + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc index 4b6a9de..1cb311e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc @@ -20,8 +20,16 @@ + [% 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..067aaa4 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..660164a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -19,11 +19,21 @@ [% END %] + [% IF ( CAN_user_circulate ) %] + + [% 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..b395a11 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,10 +19,21 @@ [% END %] + [% IF ( CAN_user_circulate ) %] + + [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc index 1d38559..d168b2a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc @@ -20,10 +20,21 @@ [% END %] + [% IF ( CAN_user_circulate ) %] + + [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc index cbd6e5c..2a8e723 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc @@ -17,10 +17,21 @@ [% END %] + [% IF ( CAN_user_circulate ) %] + + [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc index fbf3618..d1b2f9a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc @@ -10,7 +10,16 @@ -[% END %] + + +[% END %] + [% IF ( CAN_user_borrowers ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc index 806ee5e..f1a1c96 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc @@ -17,10 +17,21 @@ [% END %] + [% IF ( CAN_user_circulate ) %] + + [% END %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 9b4f19e..5170432 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -122,6 +122,13 @@ + [% END %] [% IF ( CAN_user_catalogue ) %] @@ -137,7 +144,8 @@
  • Search patrons
  • [% IF ( CAN_user_circulate ) %]
  • Check out
  • [% END %] [% IF ( CAN_user_circulate ) %]
  • Check in
  • [% END %] - [% IF ( CAN_user_catalogue ) %]
  • Search the catalog
  • [% END %] + [% IF ( CAN_user_circulate ) %]
  • Renew
  • [% END %] + [% IF ( CAN_user_catalogue ) %]
  • Search the catalog
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc index c248810..fca55ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc @@ -17,10 +17,21 @@ [% END %] -