Bug 6739: (follow-up) yet more fixes
- Fixes a typo in one of the OPAC messages: "you account" - Fixes the updatedatabase script to use 1 instead of yes for the system preference default matching the sysprefs.sql file. - Fixes capitalization "Don't Block" in system preference description. - Adding . to the end of the warning, when renewals are blocked. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
25b2cd1c65
commit
b1b0d88e11
4 changed files with 4 additions and 4 deletions
|
@ -7146,7 +7146,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
|||
INSERT INTO systempreferences (variable,value,explanation,options,type)
|
||||
VALUES (
|
||||
'BlockExpiredPatronOpacActions',
|
||||
'yes',
|
||||
'1',
|
||||
'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis',
|
||||
NULL,
|
||||
'YesNo'
|
||||
|
|
|
@ -534,7 +534,7 @@ OPAC:
|
|||
- pref: BlockExpiredPatronOpacActions
|
||||
choices:
|
||||
yes: "Block"
|
||||
no: "Don't Block"
|
||||
no: "Don't block"
|
||||
- expired patrons from opac actions such as placing a hold or renew, the setting for a patron category takes priority over this
|
||||
|
||||
Privacy:
|
||||
|
|
|
@ -272,7 +272,7 @@
|
|||
<div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div>
|
||||
[% END %]
|
||||
[% IF ( expired_patron ) %]
|
||||
<div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card</p></div>
|
||||
<div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card.</p></div>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( none_available ) %]
|
||||
|
|
|
@ -100,7 +100,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended
|
|||
|
||||
[% IF ( BORROWER_INF.warnexpired ) %]
|
||||
<div class="dialog alert" id="warnexpired">
|
||||
<strong>Please note:</strong><span> You account has expired as of [% BORROWER_INF.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span>
|
||||
<strong>Please note: </strong><span>Your account has expired as of [% BORROWER_INF.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
|
|
Loading…
Reference in a new issue