Bug 41674: Use LinkPref for CurbsidePickup
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
a746db644c
commit
8526f2ac3b
|
|
@ -1,6 +1,7 @@
|
||||||
[% USE raw %]
|
[% USE raw %]
|
||||||
[% USE KohaSpan %]
|
[% USE KohaSpan %]
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
|
[% USE LinkPref %]
|
||||||
[% USE Asset %]
|
[% USE Asset %]
|
||||||
[% USE TablesSettings %]
|
[% USE TablesSettings %]
|
||||||
[% PROCESS 'i18n.inc' %]
|
[% PROCESS 'i18n.inc' %]
|
||||||
|
|
@ -57,7 +58,7 @@
|
||||||
|
|
||||||
[% 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>' %]
|
[% SET pref_CurbsidePickup_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup">CurbsidePickup</a>' %]
|
||||||
<div class="alert alert-info">The [% pref_CurbsidePickup_link | $raw | $KohaSpan %] 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">
|
||||||
[% INCLUDE 'csrf-token.inc' %]
|
[% INCLUDE 'csrf-token.inc' %]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue