[Bps-public-commit] rt-extension-resetpassword branch, update-rt5-styling, created. 1.04-34-g215aea2

Craig Kaiser craig at bestpractical.com
Fri Nov 20 15:02:22 EST 2020


The branch, update-rt5-styling has been created
        at  215aea2dfd690524262ce01dc0f7996ade2a01b4 (commit)

- Log -----------------------------------------------------------------
commit 3ef2976d9acd73789eb108cf25d10abfbc7f6a9d
Author: craig kaiser <craig at bestpractical.com>
Date:   Fri Nov 20 14:55:34 2020 -0500

    Use simpler labels

diff --git a/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default b/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
index 0bc8b8e..8cb5fcd 100644
--- a/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
+++ b/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
@@ -2,7 +2,7 @@
 % if ( RT::Handle::cmp_version($RT::VERSION, '5.0.0') >= 0 ) {
   <div class="form-row">
     <div class="col-12 text-right">
-      <a class="btn btn-primary" href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html"><&|/l&>Forgot your password</&></a>
+      <a class="btn btn-primary" href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html"><&|/l&>Forgot password</&>?</a>
 %     if ( RT::Config->Get('CreateNewUserAndSetPassword') ) {
       <a class="btn btn-primary" href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html?Mode=create"><&|/l&>New account</&></a>
 %     }
diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index b4d86d0..604c8d7 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -76,7 +76,7 @@
 </&>
   <div class="form-row">
     <div class="col-12">
-      <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Back to Login</&></a>
+      <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Cancel</&></a>
       <input class="button btn btn-primary form-control float-right" type="submit" value="<%loc('Send it!')%>" />
     </div>
   </div>

commit 215aea2dfd690524262ce01dc0f7996ade2a01b4
Author: craig kaiser <craig at bestpractical.com>
Date:   Fri Nov 20 14:55:56 2020 -0500

    Move reset password cancel/send buttons into titlebox

diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index 604c8d7..96f73e2 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -73,13 +73,14 @@
       <input type="text" class="form-control" name="Email" value="" />
     </div>
   </div>
-</&>
+
   <div class="form-row">
     <div class="col-12">
       <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Cancel</&></a>
       <input class="button btn btn-primary form-control float-right" type="submit" value="<%loc('Send it!')%>" />
     </div>
   </div>
+</&>
 
 </form>
 % }

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list