Bug 29924: (follow-up) Add bug number to atomicupdate; Style OPAC message
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Jan 2022 15:08:39 +0000 (15:08 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 May 2022 20:33:09 +0000 (10:33 -1000)
- 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>
installer/data/mysql/atomicupdate/password_expire.pl
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt

index 2982685..049e8ba 100755 (executable)
@@ -1,7 +1,7 @@
 use Modern::Perl;
 
 return {
-    bug_number => "BUG_NUMBER",
+    bug_number => "29924",
     description => "Add password expiration",
     up => sub {
         my ($args) = @_;
index dc8f2d9..9f0df7b 100644 (file)
                         [% 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>