mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-31 16:08:26 +00:00
UPDATE
This commit is contained in:
parent
1ebc80b510
commit
3ff5727ecc
6
templates/mail/footer_gitea.tmpl
Normal file
6
templates/mail/footer_gitea.tmpl
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
</body>
|
||||
</html>
|
12
templates/mail/footer_view_on_gitea.tmpl
Normal file
12
templates/mail/footer_view_on_gitea.tmpl
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>{{if .CanReply}} {{.locale.Tr "mail.reply"}}{{end}}.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -10,6 +10,6 @@
|
||||
<p>{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
||||
<p>{{.locale.Tr "mail.team_invite.text_3" .Invite.Email}}</p>
|
||||
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
{{template "footer_gitea"}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -7,12 +7,6 @@
|
||||
|
||||
<body>
|
||||
<p>{{.locale.Tr "mail.repo.collaborator.added.text"}} <code>{{.RepoName}}</code></p>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
|
||||
</p>
|
||||
</div>
|
||||
{{template "footer_view_on_gitea" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -15,12 +15,6 @@
|
||||
{{.locale.Tr "mail.issue_assigned.issue" .Doer.Name $link $repo_url}}
|
||||
{{end}}
|
||||
</p>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
|
||||
</p>
|
||||
</div>
|
||||
{{template "footer_view_on_gitea" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
1
templates/mail/repo/issue/default.devtest.yml
Normal file
1
templates/mail/repo/issue/default.devtest.yml
Normal file
@ -0,0 +1 @@
|
||||
CanReply: true
|
@ -75,12 +75,6 @@
|
||||
</ul>
|
||||
{{end}}
|
||||
</p>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>{{if .CanReply}} {{.locale.Tr "mail.reply"}}{{end}}.
|
||||
</p>
|
||||
</div>
|
||||
{{template "footer_view_on_gitea" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -49,12 +49,6 @@
|
||||
{{end}}
|
||||
</ul>
|
||||
</p>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
|
||||
</p>
|
||||
</div>
|
||||
{{template "footer_view_on_gitea" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -10,12 +10,6 @@
|
||||
<p>{{.Subject}}.
|
||||
{{.locale.Tr "mail.repo.transfer.body" $url}}
|
||||
</p>
|
||||
<div style="font-size:small; color:#666;">
|
||||
<p>
|
||||
---
|
||||
<br>
|
||||
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
|
||||
</p>
|
||||
</div>
|
||||
{{template "footer_view_on_gitea" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,6 +12,6 @@
|
||||
<p>{{.locale.Tr "mail.activate_account.text_2" .ActiveCodeLives}}</p><p><a href="{{$activate_url}}">{{$activate_url}}</a></p><br>
|
||||
<p>{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
||||
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
{{template "footer_gitea"}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,6 +12,6 @@
|
||||
<p>{{.locale.Tr "mail.activate_email.text" .ActiveCodeLives}}</p><p><a href="{{$activate_url}}">{{$activate_url}}</a></p><br>
|
||||
<p>{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
||||
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
{{template "footer_gitea"}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,6 +13,6 @@
|
||||
<p>{{.locale.Tr "mail.register_notify.text_2" .Username}}</p><p><a href="{{AppUrl}}user/login">{{AppUrl}}user/login</a></p><br>
|
||||
<p>{{.locale.Tr "mail.register_notify.text_3" $set_pwd_url}}</p><br>
|
||||
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
{{template "footer_gitea"}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,6 +12,6 @@
|
||||
<p>{{.locale.Tr "mail.reset_password.text" .ResetPwdCodeLives}}</p><p><a href="{{$recover_url}}">{{$recover_url}}</a></p><br>
|
||||
<p>{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
||||
|
||||
<p>© <a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>
|
||||
{{template "footer_gitea"}}
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user