Bug 41674: Fix review issues - remove unused import, fix POD synopsis, remove unused variable
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
8526f2ac3b
commit
36606ea9d6
|
|
@ -20,8 +20,6 @@ package Koha::Template::Plugin::LinkPref;
|
||||||
|
|
||||||
use Modern::Perl;
|
use Modern::Perl;
|
||||||
|
|
||||||
use Koha::Patrons;
|
|
||||||
|
|
||||||
use Template::Plugin::Filter;
|
use Template::Plugin::Filter;
|
||||||
use base qw( Template::Plugin::Filter );
|
use base qw( Template::Plugin::Filter );
|
||||||
our $DYNAMIC = 1;
|
our $DYNAMIC = 1;
|
||||||
|
|
@ -58,7 +56,7 @@ Koha::Template::Plugin::LinkPref - TT plugin for wrapping a system preference na
|
||||||
|
|
||||||
[% "SYSTEM_PREFERENCE_NAME" | html | $LinkPref %]
|
[% "SYSTEM_PREFERENCE_NAME" | html | $LinkPref %]
|
||||||
|
|
||||||
This filter scrubs HTML using profiles predefined in C4::Scrubber
|
This filter wraps a system preference name in a link to that preference if the user has permission.
|
||||||
|
|
||||||
=head1 METHODS
|
=head1 METHODS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@
|
||||||
<h1>Curbside pickup configuration</h1>
|
<h1>Curbside pickup configuration</h1>
|
||||||
|
|
||||||
[% UNLESS Koha.Preference('CurbsidePickup') %]
|
[% UNLESS Koha.Preference('CurbsidePickup') %]
|
||||||
[% SET pref_CurbsidePickup_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup">CurbsidePickup</a>' %]
|
|
||||||
<div class="alert alert-info">The [% "CurbsidePickup" | html | $LinkPref %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
|
<div class="alert alert-info">The [% "CurbsidePickup" | html | $LinkPref %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
<form method="post" class="form">
|
<form method="post" class="form">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue