Lines 78-89
Link Here
|
78 |
[% FOREACH plugin IN plugins %] |
78 |
[% FOREACH plugin IN plugins %] |
79 |
<tr> |
79 |
<tr> |
80 |
<td> |
80 |
<td> |
|
|
81 |
<strong>[% plugin.metadata.name | html %]</strong> |
81 |
[% IF ( plugin.enabled ) %] |
82 |
[% IF ( plugin.enabled ) %] |
82 |
<span class="label label-primary">ENABLED</span> |
83 |
<span class="label label-primary">ENABLED</span> |
83 |
[% ELSE %] |
84 |
[% ELSE %] |
84 |
<span class="label label-default">DISABLED</span> |
85 |
<span class="label label-default">DISABLED</span> |
85 |
[% END %] |
86 |
[% END %] |
86 |
<strong>[% plugin.metadata.name | html %]</strong> |
|
|
87 |
</td> |
87 |
</td> |
88 |
<td> |
88 |
<td> |
89 |
[% plugin.metadata.description | html %] |
89 |
[% plugin.metadata.description | html %] |
Lines 114-140
Link Here
|
114 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]"> |
114 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]"> |
115 |
[% IF ( CAN_user_plugins_report ) %] |
115 |
[% IF ( CAN_user_plugins_report ) %] |
116 |
[% IF plugin.can('report') %] |
116 |
[% IF plugin.can('report') %] |
117 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=report"><i class="fa fa-table"></i> Run report</a></li> |
117 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=report"><i class="fa fa-table fa-fw"></i> Run report</a></li> |
118 |
[% END %] |
118 |
[% END %] |
119 |
[% END %] |
119 |
[% END %] |
120 |
|
120 |
|
121 |
[% IF ( CAN_user_plugins_tool ) %] |
121 |
[% IF ( CAN_user_plugins_tool ) %] |
122 |
[% IF plugin.can('tool') %] |
122 |
[% IF plugin.can('tool') %] |
123 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=tool"><i class="fa fa-wrench"></i> Run tool</a></li> |
123 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=tool"><i class="fa fa-wrench fa-fw"></i> Run tool</a></li> |
124 |
[% END %] |
124 |
[% END %] |
125 |
[% END %] |
125 |
[% END %] |
126 |
|
126 |
|
127 |
[% IF ( CAN_user_plugins_configure ) %] |
127 |
[% IF ( CAN_user_plugins_configure ) %] |
128 |
[% IF plugin.can('configure') %] |
128 |
[% IF plugin.can('configure') %] |
129 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=configure"><i class="fa fa-cog"></i> Configure</a></li> |
129 |
<li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=configure"><i class="fa fa-cog fa-fw"></i> Configure</a></li> |
130 |
[% END %] |
130 |
[% END %] |
131 |
[% END %] |
131 |
[% END %] |
132 |
[% IF ( CAN_user_plugins_manage ) %] |
132 |
[% IF ( CAN_user_plugins_manage ) %] |
133 |
<li><a class="uninstall_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-uninstall.pl?class=[% plugin.class | html %]"><i class="fa fa-trash"></i> Uninstall</a></li> |
133 |
<li><a class="uninstall_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-uninstall.pl?class=[% plugin.class | html %]"><i class="fa fa-trash fa-fw"></i> Uninstall</a></li> |
134 |
[% IF ( plugin.enabled ) %] |
134 |
[% IF ( plugin.enabled ) %] |
135 |
<li><a class="enable_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-enable.pl?class=[% plugin.class | html %]&method=disable"><i class="fa fa-pause"></i> Disable</a></li> |
135 |
<li><a class="enable_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-enable.pl?class=[% plugin.class | html %]&method=disable"><i class="fa fa-pause fa-fw"></i> Disable</a></li> |
136 |
[% ELSE %] |
136 |
[% ELSE %] |
137 |
<li><a class="enable_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-enable.pl?class=[% plugin.class | html %]&method=enable"><i class="fa fa-play"></i> Enable</a></li> |
137 |
<li><a class="enable_plugin" data-plugin-name="[% plugin.metadata.name | html %]" href="/cgi-bin/koha/plugins/plugins-enable.pl?class=[% plugin.class | html %]&method=enable"><i class="fa fa-play fa-fw"></i> Enable</a></li> |
138 |
[% END %] |
138 |
[% END %] |
139 |
[% END %] |
139 |
[% END %] |
140 |
</ul> |
140 |
</ul> |
141 |
- |
|
|