gitea/templates/mail/auth/reset_passwd.tmpl

17 lines
656 B
Go HTML Template
Raw 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" />
<title>{{.i18n.Tr "mail.reset_password.title" .DisplayName}}</title>
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 .Code}}
2015-09-17 20:57:24 +02:00
<body>
<p>{{.i18n.Tr "mail.hi_user_x" .DisplayName | Str2html}}</p><br>
<p>{{.i18n.Tr "mail.reset_password.text" .ResetPwdCodeLives | Str2html}}</p><p><a href="{{$recover_url}}">{{$recover_url}}</a></p><br>
<p>{{.i18n.Tr "mail.link_not_working_do_paste" .DisplayName AppName | Str2html}}</p>
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
2014-04-05 18:32:34 +02:00
</body>
</html>