From: Rich Lott / Artful Robot Date: Sat, 2 Dec 2023 16:44:33 +0000 (+0000) Subject: Pretty up the forgotted password screen in standaloen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=959bbde02625e3ed041aca7e919742bd08c48d25;p=civicrm-core.git Pretty up the forgotted password screen in standaloen --- diff --git a/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php b/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php index d43779d95b..6fec79f817 100644 --- a/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php +++ b/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php @@ -12,6 +12,8 @@ class CRM_Standaloneusers_Page_Login extends CRM_Core_Page { } $this->assign('logoUrl', E::url('images/civicrm-logo.png')); + $this->assign('pageTitle', ''); + $this->assign('forgottenPasswordURL', CRM_Utils_System::url('civicrm/login/password')); // Remove breadcrumb for login page. $this->assign('breadcrumb', NULL); diff --git a/ext/standaloneusers/CRM/Standaloneusers/Page/ResetPassword.php b/ext/standaloneusers/CRM/Standaloneusers/Page/ResetPassword.php index 1f18b66c39..6017a8f284 100644 --- a/ext/standaloneusers/CRM/Standaloneusers/Page/ResetPassword.php +++ b/ext/standaloneusers/CRM/Standaloneusers/Page/ResetPassword.php @@ -13,7 +13,10 @@ class CRM_Standaloneusers_Page_ResetPassword extends CRM_Core_Page { public function run() { + $this->assign('logoUrl', E::url('images/civicrm-logo.png')); $this->assign('hibp', CIVICRM_HIBP_URL); + $this->assign('pageTitle', ''); + $this->assign('breadcrumb', NULL); // $this->assign('loggedInUserID', CRM_Utils_System::getLoggedInUfID()); Civi::service('angularjs.loader')->addModules('crmResetPassword'); diff --git a/ext/standaloneusers/ang/crmChangePassword/crmChangePassword.html b/ext/standaloneusers/ang/crmChangePassword/crmChangePassword.html index d2604837fd..d9332425c2 100644 --- a/ext/standaloneusers/ang/crmChangePassword/crmChangePassword.html +++ b/ext/standaloneusers/ang/crmChangePassword/crmChangePassword.html @@ -1,4 +1,5 @@
+

Forgotten Password

@@ -34,7 +35,7 @@
- +
{{$ctrl.busy}}
diff --git a/ext/standaloneusers/ang/crmResetPassword/crmResetPassword.html b/ext/standaloneusers/ang/crmResetPassword/crmResetPassword.html index 26793c848e..88a9ae8a6c 100644 --- a/ext/standaloneusers/ang/crmResetPassword/crmResetPassword.html +++ b/ext/standaloneusers/ang/crmResetPassword/crmResetPassword.html @@ -1,19 +1,19 @@
+

Request Password Reset Link

-
- {{ts('Enter the username or email on your account')}} + -
+ /> - +

{{ts('Thanks. If your username/email matched an active account, we will email you with a special link to provide a new password.')}}

diff --git a/ext/standaloneusers/templates/CRM/Standaloneusers/Page/Login.tpl b/ext/standaloneusers/templates/CRM/Standaloneusers/Page/Login.tpl index 4dc2993675..b6a3dcfa86 100644 --- a/ext/standaloneusers/templates/CRM/Standaloneusers/Page/Login.tpl +++ b/ext/standaloneusers/templates/CRM/Standaloneusers/Page/Login.tpl @@ -1,256 +1,4 @@ - - -
-
- logo for CiviCRM, with an intersecting blue and green triangle +{include file='CRM/Standaloneusers/Page/_contentHead.tpl'}
@@ -264,12 +12,11 @@ a:hover, a:focus {
-
-
+ {include file='CRM/Standaloneusers/Page/_contentFoot.tpl'} {literal}