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. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org> Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
f1d703193b
commit
9b35c642e2
|
|
@ -1,7 +1,7 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "BUG_NUMBER",
|
||||
bug_number => "29924",
|
||||
description => "Add password expiration",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue