diff options
author | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
commit | db3f0048d80f4f7aaa903d367ace67b8cd0389dc (patch) | |
tree | 5392ed0c81240398a516f1868469ea4f18aa6e98 /templates/user/auth/activate.tmpl | |
parent | d3d828498599763c6a6364e112fe3b96de737377 (diff) |
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/user/auth/activate.tmpl')
-rw-r--r-- | templates/user/auth/activate.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index 471d3fcd..efcce984 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -15,15 +15,15 @@ {{else if .ResendLimited}} <p class="center">{{.i18n.Tr "auth.resent_limit_prompt"}}</p> {{else}} - <p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .LoggedUser.Email .Hours | Str2html}}</p> + <p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .LoggedUser.Email .Hours | Str2HTML}}</p> {{end}} {{else}} {{if .IsSendRegisterMail}} - <p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}</p> + <p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2HTML}}</p> {{else if .IsActivateFailed}} <p>{{.i18n.Tr "auth.invalid_code"}}</p> {{else}} - <p>{{.i18n.Tr "auth.has_unconfirmed_mail" .LoggedUser.Name .LoggedUser.Email | Str2html}}</p> + <p>{{.i18n.Tr "auth.has_unconfirmed_mail" .LoggedUser.Name .LoggedUser.Email | Str2HTML}}</p> <div class="ui divider"></div> <div class="text right"> <button class="ui blue button">{{.i18n.Tr "auth.resend_mail"}}</button> |