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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Aug 2023 20:12:41 +0000 (10:12 -1000)
commit65a0d638609580a472e30676ef768c441122eea8
tree5ff9812ce0d4c22d1696dc3196d824cbe9f939d0
parent3dea2272e5f5f4f59b21e8a7b0dbe0be4b9c5c78
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>
(cherry picked from commit e8a48054354613f96565a22c610145b0e946fc02)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc