]> git.koha-community.org Git - koha.git/commit
Bug 34307: Update plugin template to match master conventions
authorDavid Cook <dcook@prosentient.com.au>
Wed, 19 Jul 2023 05:35:35 +0000 (05:35 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2023 12:02:45 +0000 (09:02 -0300)
commite8a48054354613f96565a22c610145b0e946fc02
treee10c51cb7b24c33fc1faef1e7070bdc376d77848
parentf2ecb1e9be38613e32800f0d96bfe7a139b0edbf
Bug 34307: Update plugin template to match master conventions

This change uses WRAPPER to build the breadcrumbs and
updates the plugin template to follow some other master conventions
like differentiating between Administration and Tools for plugins.

Test plan:
0. Apply patch
1. Upload koha-plugin-test-wrapper
2. Enable the plugin
3. Click "Actions" and click "Run tool"
4. Note how the plugin page looks like a perfect Koha Tools page
5. Note that the plugin only contains 6 lines of template code
to achieve this effect

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc