From 8719c1b8c50cc68d734053d26d7b819e92783025 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 18 Apr 2014 12:12:10 -0400 Subject: Mirror bug fix --- templates/user/activate.tmpl | 36 ++++++++++++++++++++++++++++++++++++ templates/user/active.tmpl | 36 ------------------------------------ 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 templates/user/activate.tmpl delete mode 100644 templates/user/active.tmpl (limited to 'templates') diff --git a/templates/user/activate.tmpl b/templates/user/activate.tmpl new file mode 100644 index 0000000000..9cac069dce --- /dev/null +++ b/templates/user/activate.tmpl @@ -0,0 +1,36 @@ +{{template "base/head" .}} +{{template "base/navbar" .}} +
+
+ {{.CsrfTokenHtml}} +

Activate Your Account

+ {{if .IsActivatePage}} + {{if .ServiceNotEnabled}} +

Sorry, Register Mail Confirmation has been disabled.

+ {{else if .ResendLimited}} +

Sorry, you are sending activation e-mail too frequently, please wait 3 minutes.

+ {{else}} +

New confirmation e-mail has been sent to {{.SignedUser.Email}}, please check your inbox within {{.Hours}} hours to complete your registeration.

+
+ Sign in to your e-mail + {{end}} + {{else}} + {{if .IsSendRegisterMail}} +

A confirmation e-mail has been sent to {{.Email}}, please check your inbox within {{.Hours}} hours to complete your registeration.

+
+ Sign in to your e-mail + {{else if .IsActivateFailed}} +

Sorry, your confirmation code has been exipired or not valid.

+ {{else}} +

Hi, {{.SignedUser.Name}}, you have an unconfirmed email address({{.SignedUser.Email}}). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.

+
+
+
+ +
+
+ {{end}} + {{end}} +
+
+{{template "base/footer" .}} \ No newline at end of file diff --git a/templates/user/active.tmpl b/templates/user/active.tmpl deleted file mode 100644 index 9cac069dce..0000000000 --- a/templates/user/active.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -{{template "base/head" .}} -{{template "base/navbar" .}} -
-
- {{.CsrfTokenHtml}} -

Activate Your Account

- {{if .IsActivatePage}} - {{if .ServiceNotEnabled}} -

Sorry, Register Mail Confirmation has been disabled.

- {{else if .ResendLimited}} -

Sorry, you are sending activation e-mail too frequently, please wait 3 minutes.

- {{else}} -

New confirmation e-mail has been sent to {{.SignedUser.Email}}, please check your inbox within {{.Hours}} hours to complete your registeration.

-
- Sign in to your e-mail - {{end}} - {{else}} - {{if .IsSendRegisterMail}} -

A confirmation e-mail has been sent to {{.Email}}, please check your inbox within {{.Hours}} hours to complete your registeration.

-
- Sign in to your e-mail - {{else if .IsActivateFailed}} -

Sorry, your confirmation code has been exipired or not valid.

- {{else}} -

Hi, {{.SignedUser.Name}}, you have an unconfirmed email address({{.SignedUser.Email}}). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.

-
-
-
- -
-
- {{end}} - {{end}} -
-
-{{template "base/footer" .}} \ No newline at end of file -- cgit v1.2.3