diff options
author | Bwko <bouwko@gmail.com> | 2016-12-02 02:12:16 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-02 09:12:16 +0800 |
commit | 5ab85372da74bd95f7143fd59c2c600d4c9894d0 (patch) | |
tree | ed69c018ea3ee015a6854ed47f6e1d2f3ec32c99 /templates/mail | |
parent | 1ae6ccb5f1e8c6c2c0188e81de91ec50761bf436 (diff) | |
download | gitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.tar.gz gitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.zip |
Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
Diffstat (limited to 'templates/mail')
-rw-r--r-- | templates/mail/auth/activate.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/auth/activate_email.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/auth/register_notify.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/auth/reset_passwd.tmpl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl index f03c165694..92e9d799b2 100644 --- a/templates/mail/auth/activate.tmpl +++ b/templates/mail/auth/activate.tmpl @@ -10,6 +10,6 @@ <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>Not working? Try copying and pasting it to your browser.</p> - <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> + <p>© 2016 <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl index 65cb5045b3..bd5be4c9cb 100644 --- a/templates/mail/auth/activate_email.tmpl +++ b/templates/mail/auth/activate_email.tmpl @@ -10,6 +10,6 @@ <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>Not working? Try copying and pasting it to your browser.</p> - <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> + <p>© 2016 <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl index 75a4356459..18ce4f22fb 100644 --- a/templates/mail/auth/register_notify.tmpl +++ b/templates/mail/auth/register_notify.tmpl @@ -9,6 +9,6 @@ <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>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> + <p>© 2016 <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl index aae0558052..c6c10dad07 100644 --- a/templates/mail/auth/reset_passwd.tmpl +++ b/templates/mail/auth/reset_passwd.tmpl @@ -10,6 +10,6 @@ <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>Not working? Try copying and pasting it to your browser.</p> - <p>© 2016 <a target="_blank" href="{{AppUrl}}">{{AppName}}</a></p> + <p>© 2016 <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> </body> </html> |