From 9c9a4567af8b563dcc02dcec963371e841ca73f4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 8 Oct 2021 15:57:31 +0200 Subject: [PATCH] Bug 29020: Add link on the admin module It works! P1 and P2 are inverted in the test plan, but the principle that user with manage permission accesses bg jobs from the admin page and user who do not only have access through main page is there. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart (cherry picked from commit ca55dc3e42c77f41f8c0cf66e6db9aeda4e66842) Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 7 +++++++ .../intranet-tmpl/prog/en/modules/admin/admin-home.tt | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc index 771216c3a2..421f59a158 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -67,6 +67,13 @@ [% END %] + [% IF CAN_user_parameters_manage_background_jobs %] +
Background jobs
+ + [% END %] + [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config ) %]
Catalog
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt index 2a5f5db99a..57ed2854a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -145,6 +145,15 @@
    View, manage, configure and run plugins.
    [% END %] + + [% IF CAN_user_parameters_manage_background_jobs %] +

    Background jobs

    +
    +
    Manage background jobs
    +
    View, manage and cancel background jobs.
    +
    + [% END %] +
    -- 2.39.5