From 90b9f7e08ca2e027cc587199537aa653ddd94d91 Mon Sep 17 00:00:00 2001
From: Unknwon <u@gogs.io>
Date: Thu, 6 Apr 2017 17:27:57 -0400
Subject: pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}

---
 templates/mail/auth/activate.tmpl        | 4 ++--
 templates/mail/auth/activate_email.tmpl  | 4 ++--
 templates/mail/auth/register_notify.tmpl | 4 ++--
 templates/mail/auth/reset_passwd.tmpl    | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

(limited to 'templates/mail')

diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl
index 16214767..26f195d9 100644
--- a/templates/mail/auth/activate.tmpl
+++ b/templates/mail/auth/activate.tmpl
@@ -8,8 +8,8 @@
 <body>
 	<p>Hi <b>{{.Username}}</b>, thanks for registering at {{AppName}}!</p>
 	<p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p>
-	<p><a href="{{AppUrl}}user/activate?code={{.Code}}">{{AppUrl}}user/activate?code={{.Code}}</a></p>
+	<p><a href="{{AppURL}}user/activate?code={{.Code}}">{{AppURL}}user/activate?code={{.Code}}</a></p>
 	<p>Not working? Try copying and pasting it to your browser.</p>
-	<p>© 2017 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p>
+	<p>© 2017 <a target="_blank" href="{{AppURL}}">{{AppName}}</a></p>
 </body>
 </html>
diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl
index 8b11b4f1..e8dd7d3f 100644
--- a/templates/mail/auth/activate_email.tmpl
+++ b/templates/mail/auth/activate_email.tmpl
@@ -8,8 +8,8 @@
 <body>
 	<p>Hi <b>{{.Username}}</b>,</p>
 	<p>Please click the following link to verify your email address within <b>{{.ActiveCodeLives}} hours</b>:</p>
-	<p><a href="{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}">{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}</a></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>© 2017 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p>
+	<p>© 2017 <a target="_blank" href="{{AppURL}}">{{AppName}}</a></p>
 </body>
 </html>
diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl
index 3a937f64..0266af9e 100644
--- a/templates/mail/auth/register_notify.tmpl
+++ b/templates/mail/auth/register_notify.tmpl
@@ -8,7 +8,7 @@
 <body>
 	<p>Hi <b>{{.Username}}</b>, this is your registration confirmation email for {{AppName}}!</p>
 	<p>You can now login via username: {{.Username}}.</p>
-	<p><a href="{{AppUrl}}user/login">{{AppUrl}}user/login</a></p>
-	<p>© 2017 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p>
+	<p><a href="{{AppURL}}user/login">{{AppURL}}user/login</a></p>
+	<p>© 2017 <a target="_blank" href="{{AppURL}}">{{AppName}}</a></p>
 </body>
 </html>
diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl
index 5176a712..d868aeb1 100644
--- a/templates/mail/auth/reset_passwd.tmpl
+++ b/templates/mail/auth/reset_passwd.tmpl
@@ -8,8 +8,8 @@
 <body>
 	<p>Hi <b>{{.Username}}</b>,</p>
 	<p>Please click the following link to verify your email address within <b>{{.ResetPwdCodeLives}} hours</b>:</p>
-	<p><a href="{{AppUrl}}user/reset_password?code={{.Code}}">{{AppUrl}}user/reset_password?code={{.Code}}</a></p>
+	<p><a href="{{AppURL}}user/reset_password?code={{.Code}}">{{AppURL}}user/reset_password?code={{.Code}}</a></p>
 	<p>Not working? Try copying and pasting it to your browser.</p>
-	<p>© 2017 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p>
+	<p>© 2017 <a target="_blank" href="{{AppURL}}">{{AppName}}</a></p>
 </body>
 </html>
-- 
cgit v1.2.3