mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-01 08:47:40 -04:00
04003d9dc7
* Make distinction between DisplayName and Username in email templates Store the actual username in the variable named Username and store the separate DisplayName in another variable. This allows us to access the actual username when we need, which currently fails if a user has set a full name. Fixes #6161 * Use u.Name directly No need for extra function, also change use in all mail sending functions here * Don't include Username when not used
16 lines
643 B
Cheetah
16 lines
643 B
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>{{.DisplayName}}, please verify your e-mail address</title>
|
|
</head>
|
|
|
|
<body>
|
|
<p>Hi <b>{{.DisplayName}}</b>,</p>
|
|
<p>Please click the following link to verify your email address within <b>{{.ActiveCodeLives}}</b>:</p>
|
|
<p><a href="{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}">{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}</a></p>
|
|
<p>Not working? Try copying and pasting it to your browser.</p>
|
|
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
|
</body>
|
|
</html>
|