Bugzilla – Attachment 130120 Details for
Bug 29924
Introduce password expiration to patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29924: (follow-up) Add bug number to atomicupdate; Style OPAC message
Bug-29924-follow-up-Add-bug-number-to-atomicupdate.patch (text/plain), 2.00 KB, created by
Nick Clemens (kidclamp)
on 2022-02-02 15:07:25 UTC
(
hide
)
Description:
Bug 29924: (follow-up) Add bug number to atomicupdate; Style OPAC message
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-02-02 15:07:25 UTC
Size:
2.00 KB
patch
obsolete
>From b332cb4bf36c3ceba1ed9b64c80fa7af368bdeca Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 25 Jan 2022 15:08:39 +0000 >Subject: [PATCH] Bug 29924: (follow-up) Add bug number to atomicupdate; Style > OPAC message > >- The atomicupdate didn't have "bug_number" defined. >- The "Your password has expired" message is now styled with the same > class as other OPAC login messages. >--- > installer/data/mysql/atomicupdate/password_expire.pl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 4 +++- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/password_expire.pl b/installer/data/mysql/atomicupdate/password_expire.pl >index 2982685b45..049e8ba65a 100755 >--- a/installer/data/mysql/atomicupdate/password_expire.pl >+++ b/installer/data/mysql/atomicupdate/password_expire.pl >@@ -1,7 +1,7 @@ > use Modern::Perl; > > return { >- bug_number => "BUG_NUMBER", >+ bug_number => "29924", > description => "Add password expiration", > up => sub { > my ($args) = @_; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index ee5e5867bc..339c0d7948 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -168,7 +168,9 @@ > [% END # /UNLESS OPACShibOnly %] > > [% IF password_has_expired %] >- <p class="error"><strong>Error: </strong>Your password has expired!</p> >+ <div class="alert alert-info"> >+ <p><strong>Error: </strong>Your password has expired!</p> >+ </div> > [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] > <div id="resetpassword"> > <a href="/cgi-bin/koha/opac-password-recovery.pl">Reset your password?</a> >-- >2.30.2
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 29924
:
129705
|
129706
|
129707
|
129708
|
129762
|
129763
|
129764
|
129765
|
129766
|
129823
|
129953
|
129954
|
129955
|
129956
|
129957
|
130116
|
130117
|
130118
|
130119
|
130120
|
130495
|
130500
|
130501
|
130502
|
130503
|
130504
|
130505
|
130557
|
130558
|
130559
|
130560
|
130561
|
130562
|
130563
|
130677
|
130678
|
130679
|
130680
|
130681
|
130682
|
130683
|
131128
|
132059
|
132060
|
132061
|
132062
|
132063
|
132064
|
132065
|
132066
|
132084
|
132085
|
132086
|
132087
|
132088
|
132089
|
132090
|
132091
|
132092
|
133741
|
133742
|
133743
|
133744
|
133745
|
133746
|
133747
|
133748
|
133801
|
133802
|
133803
|
133804
|
133805
|
133806
|
133807
|
133808
|
133809
|
133810
|
133989
|
134758