Bugzilla – Attachment 117996 Details for
Bug 27114
Use Template Toolkit plugin for Koha plugins hook 'intranet_catalog_biblio_tab'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27114: (QA follow-up) Add missing POD
Bug-27114-QA-follow-up-Add-missing-POD.patch (text/plain), 1.23 KB, created by
Martin Renvoize (ashimema)
on 2021-03-09 16:55:52 UTC
(
hide
)
Description:
Bug 27114: (QA follow-up) Add missing POD
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-09 16:55:52 UTC
Size:
1.23 KB
patch
obsolete
>From f7b3b5755baeb9d44a423f5b2e7d004f5218cb0e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 9 Mar 2021 16:47:35 +0000 >Subject: [PATCH] Bug 27114: (QA follow-up) Add missing POD > >--- > Koha/Template/Plugin/KohaPlugins.pm | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/Koha/Template/Plugin/KohaPlugins.pm b/Koha/Template/Plugin/KohaPlugins.pm >index 157d6bca0b..5fe3a21b1e 100644 >--- a/Koha/Template/Plugin/KohaPlugins.pm >+++ b/Koha/Template/Plugin/KohaPlugins.pm >@@ -147,6 +147,18 @@ sub get_plugins_intranet_js { > return join( "\n", @data ); > } > >+=head3 get_plugins_intranet_catalog_biblio_tab >+ >+ [% SET plugins_intranet_catalog_biblio_tabs = KohaPlugins.get_plugins_intranet_catalog_biblio_tab %] >+ [% FOREACH plugins_intranet_catalog_biblio_tab IN plugins_intranet_catalog_biblio_tabs %] >+ <li><a href="#[% plugins_intranet_catalog_biblio_tab.id | uri %]">[% plugins_intranet_catalog_biblio_tab.title | html %]</a></li> >+ [% END %] >+ >+This method collects the output of all plugins with a intranet_catalog_biblio_tab >+method to output to the list of extra cataloguing tabs on intranet pages. >+ >+=cut >+ > sub get_plugins_intranet_catalog_biblio_tab { > > my $tabs = []; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27114
:
114054
|
117995
|
117996
|
119429
|
119430