View | Details | Raw Unified | Return to bug 26338
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-2 / +1 lines)
Lines 1336-1343 dt { Link Here
1336
dd {
1336
dd {
1337
    font-size: 90%;
1337
    font-size: 90%;
1338
    font-weight: normal;
1338
    font-weight: normal;
1339
    padding: .2em;
1339
    padding: .2em .2em .2em 2.5em;
1340
    text-indent: 2.5em;
1341
}
1340
}
1342
1341
1343
#toolbar,
1342
#toolbar,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-2 / +13 lines)
Lines 120-128 Link Here
120
    <dd>Quote editor for Quote-of-the-day feature in OPAC</dd>
120
    <dd>Quote editor for Quote-of-the-day feature in OPAC</dd>
121
    [% END %]
121
    [% END %]
122
122
123
    [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) %]
123
    [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && tool_plugins ) %]
124
    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></dt>
124
    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></dt>
125
    <dd>Use tool plugins</dd>
125
    <dd>
126
        Use tool plugins
127
        <ul>
128
        [% FOREACH plugin IN tool_plugins %]
129
            <li class="plugin_link">
130
                <a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=tool">
131
                    <span class="plugin_name">[% plugin.metadata.name | html %]</span>
132
                </a>
133
            </li>
134
        [% END %]
135
        </ul>
136
    </dd>
126
    [% END %]
137
    [% END %]
127
138
128
    [% IF ( CAN_user_tools_upload_general_files ) %]
139
    [% IF ( CAN_user_tools_upload_general_files ) %]
(-)a/tools/tools-home.pl (-1 / +7 lines)
Lines 42-45 $template->param( Link Here
42
    pendingtags     => $pendingtags
42
    pendingtags     => $pendingtags
43
);
43
);
44
44
45
if ( C4::Context->config('enable_plugins') ) {
46
    my @tool_plugins = Koha::Plugins->new()->GetPlugins({
47
        method => 'tool',
48
    });
49
    $template->param( tool_plugins => \@tool_plugins );
50
}
51
45
output_html_with_http_headers $query, $cookie, $template->output;
52
output_html_with_http_headers $query, $cookie, $template->output;
46
- 

Return to bug 26338