Bug 11911: (follow-up) Hide suggestion box on acq start page if no permission

When the user is not superlibrarian or has the manage_suggestions
permission, the suggestion box on the left of the acq start page
needs to be hidden.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2018-05-28 23:56:51 +02:00 committed by Nick Clemens
parent b8a2365a34
commit 2f94da74c5
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
</div>
</div>
[% IF ( suggestion && suggestions_count ) %]
[% IF ( CAN_user_acquisition_suggestions_manage && suggestion && suggestions_count ) %]
<div class="col-sm-6">
<div id="acqui_acqui_home_suggestions">
<fieldset>