This commit is contained in:
NorthRealm 2025-07-23 21:38:47 +08:00
parent 061d81788d
commit 9993fc69e9
12 changed files with 57 additions and 32 deletions

View File

@ -0,0 +1,13 @@
Inviter:
DisplayName: Inviter Display Name
Team:
Name: Team name
Organization:
DisplayName: Organization Display Name
InviteURL: http://localhost/org/team/invite
Invite:
Email: invited@example.com

View File

@ -1,10 +1,10 @@
RunStatusText: run status text ....
RunStatusText: Jobs status aggregation
Repo:
FullName: RepoName
FullName: Repo/Name
Run:
WorkflowID: WorkflowID
WorkflowID: workflow.yml
HTMLURL: http://localhost/run/1
Jobs:
@ -13,6 +13,6 @@ Jobs:
Attempt: 1
HTMLURL: http://localhost/job/1
- Name: Job-Name-2
Status: failed
Status: failure
Attempt: 2
HTMLURL: http://localhost/job/2

View File

@ -0,0 +1,3 @@
Subject: Collaborator added
Link: http://localhost
RepoName: Repo/Name

View File

@ -1,16 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<style>
.footer { font-size:small; color:#666;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{{.Subject}}</title>
</head>
<body>
<p>{{.locale.Tr "mail.repo.collaborator.added.text"}} <code>{{.RepoName}}</code></p>
<div class="footer">
<div style="font-size:small; color:#666;">
<p>
---
<br>

View File

@ -0,0 +1,11 @@
Subject: Issue assigned
Link: http://localhost
Issue:
Index: 1
Repo:
FullName: Repo/Name
HTMLURL: http://localhost/issue
Doer:
Name: DoerName

View File

@ -1,9 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<style>
.footer { font-size:small; color:#666;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{{.Subject}}</title>
</head>
@ -18,7 +15,7 @@
{{.locale.Tr "mail.issue_assigned.issue" .Doer.Name $link $repo_url}}
{{end}}
</p>
<div class="footer">
<div style="font-size:small; color:#666;">
<p>
---
<br>

View File

@ -6,7 +6,6 @@
<style>
blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}
.footer { font-size:small; color:#666;}
{{if .ReviewComments}}
.review { padding-left: 1em; margin: 1em 0; }
.review > pre { padding: 1em; border-left: 1px solid grey; }
@ -80,12 +79,12 @@
</ul>
{{end}}
</p>
<div class="footer">
<p>
---
<br>
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>{{if .CanReply}} {{.locale.Tr "mail.reply"}}{{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>
</body>
</html>

View File

@ -6,7 +6,6 @@
<style>
blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}
.footer { font-size:small; color:#666;}
</style>
</head>
@ -50,12 +49,12 @@
{{end}}
</ul>
</p>
<div class="footer">
<p>
---
<br>
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
</p>
<div style="font-size:small; color:#666;">
<p>
---
<br>
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
</html>

View File

@ -0,0 +1,3 @@
Subject: Repository transfer
Link: http://localhost
Repo: Repo/Name

View File

@ -10,10 +10,12 @@
<p>{{.Subject}}.
{{.locale.Tr "mail.repo.transfer.body" $url}}
</p>
<p>
---
<br>
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
</p>
<div style="font-size:small; color:#666;">
<p>
---
<br>
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
</html>

View File

@ -1,3 +1,4 @@
DisplayName: User Display Name
Code: The-Activation-Code
Email: admin@example.com
ActiveCodeLives: 24h

View File

@ -1,3 +1,3 @@
DisplayName: User Display Name
Code: The-Activation-Code
Code: The-Reset-Token
ResetPwdCodeLives: 24h