Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard e7b004689c Bug 20383: Hide link to plugin management if plugins are not enabled
This patch adds a check in admin-home.pl to see whether plugins are
enabled. If plugins are disabled, the link to plugins management is
hidden even if the user has plugin management permission.

To test, view the administration home page with plugins enabled and
disabled via the enable_plugins flag in the Koha configuration file.
Also test using users with different plugins permissions:

- Plugins enabled
  - CAN_user_plugins = 1
    -> Plugins link appears
  - CAN_user_plugins = 0
    -> Plugins link hidden

- Plugins disabled
  - CAN_user_plugins = 1,
  - CAN_user_plugins = 0
    -> Plugins link hidden

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-03-19 13:55:53 -03:00
..
acqui Bug 19754: Move template JavaScript to the footer: Acquisitions, part 2 2018-02-23 10:58:09 -03:00
admin Bug 20383: Hide link to plugin management if plugins are not enabled 2018-03-19 13:55:53 -03:00
authorities Bug 20239: Fix spelling on authority linker plugin 2018-02-23 10:57:04 -03:00
basket Bug 20033: Switch single-column templates to Bootstrap grid: Catalog 2018-02-15 13:30:23 -03:00
batch
catalogue Bug 20341: Use AuthorisedValues plugin on the staff side 2018-03-19 12:23:15 -03:00
cataloguing Bug 19823: Move template JavaScript to the footer: MARC21 editor plugins 2018-02-23 10:59:12 -03:00
circ Bug 20142: Allow translating offline circ message 2018-02-27 11:37:51 -03:00
clubs Bug 20035: Switch single-column templates to Bootstrap grid: Patron clubs 2018-02-15 13:30:23 -03:00
common Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
course_reserves Bug 20372: Correct toolbar markup on some pages 2018-03-19 13:55:53 -03:00
errors Bug 16270: Typo authentification/authentication 2016-04-29 14:44:26 +00:00
help Bug 20190: Replace intranet-tmpl with [% interface %] 2018-02-13 12:57:46 -03:00
ill Bug 20295: Allow translating link title in ILL module 2018-02-27 13:48:17 -03:00
installer Bug 18819: "UNIMARC is used in Europe" text changed to "UNIMARC is used in a few European countries" 2017-12-20 13:34:10 -03:00
labels Bug 20147: Allow translating prompt in label edit batch 2018-02-27 11:37:35 -03:00
members Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryField preference 2018-03-19 12:23:12 -03:00
offline_circ Bug 20036: Switch single-column templates to Bootstrap grid: Offline circulation 2018-02-15 13:30:23 -03:00
onboarding Bug 20189: Fix style on installer and onboarding pages 2018-02-13 12:57:21 -03:00
patron_lists Bug 19837: Add error feedback for duplicated or unfound cardnumbers 2018-02-18 16:48:46 -03:00
patroncards Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
plugins Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
reports Bug 20372: Correct toolbar markup on some pages 2018-03-19 13:55:53 -03:00
reserve Bug 18789: (QA follow-up) Fix showing cardnumber when creating a hold 2018-02-16 13:03:58 -03:00
reviews Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
rotating_collections Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
serials Bug 20290: Fix capitalization of "Routling List" 2018-02-27 11:45:16 -03:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
suggestion Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
tags Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
test
tools Bug 20376: Make select/unselect all ignore disabled checkboxes on batch record deletion 2018-03-19 13:55:47 -03:00
virtualshelves Bug 19960: Update popup window templates to use Bootstrap grid: Add to list 2018-02-15 13:30:23 -03:00
about.tt Bug 7143: Update about page for new dev - Pongtawat Chippimolchai 2018-02-20 14:14:56 -03:00
auth.tt Bug 20268: CSS regression: white gap on the top of the staff pages 2018-03-19 13:55:46 -03:00
intranet-main.tt Bug 20268: CSS regression: white gap on the top of the staff pages 2018-03-19 13:55:46 -03:00