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>
This commit is contained in:
Jonathan Druart 2021-10-08 15:57:31 +02:00
parent fde5d5f701
commit ca55dc3e42
2 changed files with 16 additions and 0 deletions

View File

@ -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>

View File

@ -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">