From fbdd6470fb6afddf461411ff608e9523558351f9 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 23 Apr 2026 12:56:17 +0000 Subject: [PATCH] Bug 38414: (QA follow-up) Adjust templates Now that we can explicitly list reports with any one of the permissions we need to adjust some displays to ensure we can get to the list view. Additionally I change 'Use saved' to 'View saved' since we may not be able to run. I also fix the action buttons to show 'View' instead of 'Run' if user cannot execute. I adjust reports home to check if the user can use report plugins before showing that link as well Signed-off-by: Nick Clemens Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/includes/guided-reports-view.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc | 2 +- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/reports-home.tt | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc index 59e416f7b8..fff76083c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc @@ -1,8 +1,8 @@ [% USE Koha %] - [% IF plugins_enabled %] + [% IF ( plugins_enabled && CAN_user_plugins_report ) %]

Report plugins