forkjo/templates/mail/auth/reset_passwd.tmpl

17 lines
651 B
Go HTML Template
Raw Permalink Normal View History

2014-04-05 18:32:34 +02:00
<!DOCTYPE html>
<html>
2014-04-05 18:32:34 +02:00
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no">
2014-04-05 18:32:34 +02:00
</head>
2015-09-17 20:57:24 +02:00
{{$recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}}
2015-09-17 20:57:24 +02:00
<body>
<p>{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}</p><br>
<p>{{.locale.Tr "mail.reset_password.text" .ResetPwdCodeLives}}</p><p><a href="{{$recover_url}}">{{$recover_url}}</a></p><br>
<p>{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
2014-04-05 18:32:34 +02:00
</body>
</html>