From d2e72bc7ac85d37b143ea0ebfe732cea743d1912 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Thu, 22 Aug 2024 20:50:39 +0000 Subject: [PATCH] Bug 35905: (follow-up) Add permission checks to report results --- .../modules/reports/guided_reports_start.tt | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 4bac39c5b4..0721c22dc2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1101,13 +1101,15 @@ [% END %] [% IF header_ro.has_itemnumbers && ( header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' ) %] - -
  • - Batch item modification -
  • -
  • - Batch item deletion -
  • + [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) %] + +
  • + Batch item modification +
  • +
  • + Batch item deletion +
  • + [% END # /IF CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel %] [% END %] [% END # /FOREACH header_ro %] @@ -1188,8 +1190,10 @@ [% cells.cell | $raw %] @@ -1199,10 +1203,10 @@ [% cells.cell | $raw %] -- 2.39.2