mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Revert relative links to absolute links in mail templates (#23267)
Follow #21986 , fix regression. The mail templates should always use `AppURL` (the full absolute URL)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<title>{{.Subject}}</title>
|
||||
</head>
|
||||
|
||||
{{$repo_url := printf "<a href='%s'>%s</a>" (Escape .Issue.Repo.Link) (Escape .Issue.Repo.FullName)}}
|
||||
{{$repo_url := printf "<a href='%s'>%s</a>" (Escape .Issue.Repo.HTMLURL) (Escape .Issue.Repo.FullName)}}
|
||||
{{$link := printf "<a href='%s'>#%d</a>" (Escape .Link) .Issue.Index}}
|
||||
<body>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user