@@ -, +, @@ 20168 - With no news entry for OpacLoginInstructions you should see the default: A block of text with two headings, "Don't have a password yet?" and "Don't have a library card?" - Go to Tools -> News and create an entry for OpacLoginInstructions. - Return to the OPAC and confirm that your custom text appears. - Try updating/installing another translation and adding a different news entry for that language. Confirm that the correct entry appears. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -201,14 +201,14 @@ [% END %]
- [% IF Koha.Preference('OpacLoginInstructions') %] - [% Koha.Preference('OpacLoginInstructions') | $raw %] + [% IF ( OpacLoginInstructions ) %] + [% PROCESS koha_news_block news => OpacLoginInstructions %] [% ELSE %]

Don't have a password yet?

If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.

Don't have a library card?

If you don't have a library card, stop by your local library to sign up.

- [% END # / IF Koha.Preference('OpacLoginInstructions') %] + [% END # / IF OpacLoginInstructions %] [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] --