Bugzilla – Attachment 106641 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.02 KB, created by
Owen Leonard
on 2020-07-07 18:47:14 UTC
(
hide
)
Description:
Bug 23797: (follow-up) Enable OpacLoginInstructions in header
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-07-07 18:47:14 UTC
Size:
2.02 KB
patch
obsolete
>From a94aee91126182db3926cb1bcdcbb4568dcacca4 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. >--- > 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