[Koha-bugs] [Bug 31339] Add Template::Toolkit WRAPPER for Koha Tool Plugins
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 2 19:39:29 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31339
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139647|0 |1
is obsolete| |
--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 150528
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150528&action=edit
Bug 31339: Add staff wrapper template include for tool plugins
This change adds a template include which can be used as a
WRAPPER for tool plugins, which makes it easy to pages in tool
templates without having to copy and maintain a lot of template
boilerplate.
Test plan:
0. Apply patch and koha-plack --restart kohadev
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 at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list