From d65bb3ca64168c3c26f735bf64e4e81126572b9c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 7 Jul 2020 18:36:32 +0000 Subject: [PATCH] Bug 23797: (follow-up) Enable OpacLoginInstructions in header The OpacLoginInstructions information should be available in the login modal which is displayed when the login link in the header menu is clicked. Signed-off-by: Alex Arnaud --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index f061f78ced..8ba54a0b0f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -6,6 +6,7 @@ [% PROCESS 'html_helpers.inc' %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] [% SET OpacHeader = KohaNews.get( location => "opacheader", lang => lang, library => branchcode, blocktitle => 0 ) %] +[% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %]
@@ -357,9 +358,9 @@
- [% IF Koha.Preference( 'OpacLoginInstructions' ) %] + [% IF ( OpacLoginInstructions ) %]
- [% Koha.Preference( 'OpacLoginInstructions' ) | $raw %] + [% PROCESS koha_news_block news => OpacLoginInstructions %]
[% END %] [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] -- 2.11.0