Bugzilla – Attachment 106762 Details for
Bug 23797
Convert OpacLoginInstructions system preference to news block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23797: (follow-up) Enable OpacLoginInstructions in header
Bug-23797-follow-up-Enable-OpacLoginInstructions-i.patch (text/plain), 2.07 KB, created by
Alex Arnaud
on 2020-07-10 08:01:37 UTC
(
hide
)
Description:
Bug 23797: (follow-up) Enable OpacLoginInstructions in header
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2020-07-10 08:01:37 UTC
Size:
2.07 KB
patch
obsolete
>From d65bb3ca64168c3c26f735bf64e4e81126572b9c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <alex.arnaud@biblibre.com> >--- > 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 ) %] > > <div id="wrap"> > <div id="header-region" class="noprint"> >@@ -357,9 +358,9 @@ > <fieldset class="brief"> > <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> > <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> >- [% IF Koha.Preference( 'OpacLoginInstructions' ) %] >+ [% IF ( OpacLoginInstructions ) %] > <div id="nologininstructions-modal" class="nologininstructions"> >- [% Koha.Preference( 'OpacLoginInstructions' ) | $raw %] >+ [% PROCESS koha_news_block news => OpacLoginInstructions %] > </div> > [% END %] > [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23797
:
101610
|
101699
|
106326
|
106396
|
106639
|
106640
|
106641
|
106760
|
106761
| 106762