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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-4 / +6 lines)
Lines 148-164 Link Here
148
                </dl>
148
                </dl>
149
            [% END %]
149
            [% END %]
150
150
151
            [% IF CAN_user_plugins && plugins_enabled %]
151
            [% IF plugins_enabled %]
152
                <h3>Plugins</h3>
152
                <h3>Plugins</h3>
153
                <dl>
153
                <dl>
154
                [% IF CAN_user_plugins_manage || CAN_user_plugins_configure %]
154
                    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></dt>
155
                    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></dt>
155
                    <dd>View, manage, configure and run plugins.</dd>
156
                    <dd>View, manage, configure and run plugins.</dd>
156
                    [% IF ( CAN_user_plugins_admin && admin_plugins ) %]
157
                [% END %]
157
                        [% FOREACH plugin IN admin_plugins %]
158
                [% IF ( CAN_user_plugins_admin && admin_plugins ) %]
159
                    [% FOREACH plugin IN admin_plugins %]
158
                        <dt><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=admin"><span class="plugin_name">[% plugin.metadata.name | html %]</span></a></dt>
160
                        <dt><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=admin"><span class="plugin_name">[% plugin.metadata.name | html %]</span></a></dt>
159
                        <dd>[% plugin.metadata.description | html %]</dd>
161
                        <dd>[% plugin.metadata.description | html %]</dd>
160
                        [% END %]
161
                    [% END %]
162
                    [% END %]
163
                [% END %]
162
                </dl>
164
                </dl>
163
            [% END %]
165
            [% END %]
164
166
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-2 / +1 lines)
Lines 165-171 Link Here
165
                            </li>
165
                            </li>
166
                            [% END %]
166
                            [% END %]
167
167
168
                            [% IF ( CAN_user_parameters ) %]
168
                            [% IF ( CAN_user_parameters || CAN_user_plugins_admin ) %]
169
                            <li>
169
                            <li>
170
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Koha administration</a>
170
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Koha administration</a>
171
                            </li>
171
                            </li>
172
- 

Return to bug 36206