Browse Source

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 <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Jonathan Druart 3 years ago
parent
commit
ca55dc3e42
  1. 7
      koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc
  2. 9
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt

7
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc

@ -67,6 +67,13 @@
</ul>
[% END %]
[% IF CAN_user_parameters_manage_background_jobs %]
<h5>Background jobs</h5>
<ul>
<li><a href="/cgi-bin/koha/admin/background_jobs.pl">Background jobs</a></li>
</ul>
[% 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 ) %]
<h5>Catalog</h5>
<ul>

9
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt

@ -145,6 +145,15 @@
<dd>View, manage, configure and run plugins.</dd>
</dl>
[% END %]
[% IF CAN_user_parameters_manage_background_jobs %]
<h3>Background jobs</h3>
<dl>
<dt><a href="/cgi-bin/koha/admin/background_jobs.pl">Manage background jobs</a></dt>
<dd>View, manage and cancel background jobs.</dd>
</dl>
[% END %]
</div>
<div class="col-md-6 sysprefs">

Loading…
Cancel
Save