loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove `title` from email heads (#3810)

One part of https://codeberg.org/forgejo/forgejo/pulls/3316, though it may have a little more files touched because I re-created the changes.

> Removed HTML `<title>` part in `<head>` that was present inconsistently in these emails. It doesn't appear to be used by other websites. After all, these are emails, not webpages.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3810
Reviewed-by: Otto <otto@codeberg.org>

0ko f9ac5b32 45a41811

-15
-4
options/locale/locale_en-US.ini
··· 473 473 hi_user_x = Hi <b>%s</b>, 474 474 475 475 activate_account = Please activate your account 476 - activate_account.title = %s, please activate your account 477 476 activate_account.text_1 = Hi <b>%[1]s</b>, thanks for registering at %[2]s! 478 477 activate_account.text_2 = Please click the following link to activate your account within <b>%s</b>: 479 478 480 479 activate_email = Verify your email address 481 - activate_email.title = %s, please verify your email address 482 480 activate_email.text = Please click the following link to verify your email address within <b>%s</b>: 483 481 484 482 admin.new_user.subject = New user %s just signed up ··· 486 484 admin.new_user.text = Please <a href="%s">click here</a> to manage this user from the admin panel. 487 485 488 486 register_notify = Welcome to Forgejo 489 - register_notify.title = %[1]s, welcome to %[2]s 490 487 register_notify.text_1 = this is your registration confirmation email for %s! 491 488 register_notify.text_2 = You can sign into your account using your username: %s 492 489 register_notify.text_3 = If someone else made this account for you, you will need to <a href="%s">set your password</a> first. 493 490 494 491 reset_password = Recover your account 495 - reset_password.title = %s, we have received a request to recover your account 496 492 reset_password.text = If this was you, please click the following link to recover your account within <b>%s</b>: 497 493 498 494 register_success = Registration successful
-1
services/mailer/mail_test.go
··· 36 36 <html> 37 37 <head> 38 38 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 39 - <title>{{.Subject}}</title> 40 39 </head> 41 40 42 41 <body>
-1
templates/mail/auth/activate.tmpl
··· 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 5 <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> 6 - <title>{{.locale.Tr "mail.activate_account.title" (.DisplayName|DotEscape)}}</title> 7 6 </head> 8 7 9 8 {{$activate_url := printf "%suser/activate?code=%s" AppUrl (QueryEscape .Code)}}
-1
templates/mail/auth/activate_email.tmpl
··· 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 5 <meta Name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> 6 - <title>{{.locale.Tr "mail.activate_email.title" (.DisplayName|DotEscape)}}</title> 7 6 </head> 8 7 9 8 {{$activate_url := printf "%suser/activate_email?code=%s&email=%s" AppUrl (QueryEscape .Code) (QueryEscape .Email)}}
-1
templates/mail/auth/register_notify.tmpl
··· 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 5 <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> 6 - <title>{{.locale.Tr "mail.register_notify.title" (.DisplayName|DotEscape) AppName}}</title> 7 6 </head> 8 7 9 8 {{$set_pwd_url := printf "%[1]suser/forgot_password" AppUrl}}
-1
templates/mail/auth/reset_passwd.tmpl
··· 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 5 <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> 6 - <title>{{.locale.Tr "mail.reset_password.title" (.DisplayName|DotEscape)}}</title> 7 6 </head> 8 7 9 8 {{$recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}}
-1
templates/mail/issue/assigned.tmpl
··· 5 5 .footer { font-size:small; color:#666;} 6 6 </style> 7 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 8 - <title>{{.Subject}}</title> 9 8 </head> 10 9 11 10 {{$repo_url := HTMLFormat "<a href='%s'>%s</a>" .Issue.Repo.HTMLURL .Issue.Repo.FullName}}
-1
templates/mail/issue/default.tmpl
··· 2 2 <html> 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 - <title>{{.Subject}}</title> 6 5 7 6 <style> 8 7 blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}
-1
templates/mail/notify/admin_new_user.tmpl
··· 2 2 <html> 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 - <title>{{.Subject}}</title> 6 5 7 6 <style> 8 7 blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}
-1
templates/mail/notify/collaborator.tmpl
··· 5 5 .footer { font-size:small; color:#666;} 6 6 </style> 7 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 8 - <title>{{.Subject}}</title> 9 8 </head> 10 9 11 10 <body>
-1
templates/mail/notify/repo_transfer.tmpl
··· 2 2 <html> 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 - <title>{{.Subject}}</title> 6 5 </head> 7 6 8 7 {{$url := HTMLFormat "<a href='%[1]s'>%[2]s</a>" .Link .Repo}}
-1
templates/mail/release.tmpl
··· 2 2 <html> 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 - <title>{{.Subject}}</title> 6 5 7 6 <style> 8 7 blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}