فهرست منبع

Custom reset password email template

oscarleiva 6 سال پیش
والد
کامیت
33796deb05
2فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 6 6
      emails/templates/reset_password.html
  2. 1 1
      public/app/core/controllers/reset_password_ctrl.ts

+ 6 - 6
emails/templates/reset_password.html

@@ -1,4 +1,4 @@
-[[Subject .Subject "Reset your Grafana password - [[.Name]]"]]
+[[Subject .Subject "Reset your EnergyLink password - [[.Name]]"]]
 
 <table class="row">
 	<tr>
@@ -24,10 +24,12 @@
 				<tr>
 					<td class="center">
 						<p>
-							Please click the following link to reset your password within <b>[[.EmailCodeValidHours]] hours</b>.
+							Please click the following link to reset your password within <b>[[.EmailCodeValidHours]]
+								hours</b>.
 						</p>
 						<p>
-							<a href="[[.AppUrl]]user/password/reset?code=[[.Code]]">[[.AppUrl]]user/password/reset?code=[[.Code]]</a>
+							<a
+								href="[[.AppUrl]]user/password/reset?code=[[.Code]]">[[.AppUrl]]user/password/reset?code=[[.Code]]</a>
 						</p>
 						<p>Not working? Try copying and pasting it to your browser.</p>
 					</td>
@@ -37,6 +39,4 @@
 
 		</td>
 	</tr>
-</table>
-
-
+</table>

+ 1 - 1
public/app/core/controllers/reset_password_ctrl.ts

@@ -21,7 +21,7 @@ export class ResetPasswordCtrl {
       main: {
         icon: 'gicon gicon-branding',
         text: 'Reset Password',
-        subTitle: 'Reset your Grafana password',
+        subTitle: 'Reset your EnergyLink password',
         breadcrumbs: [{ title: 'Login', url: 'login' }],
       },
     };