added gitea mail templates

This commit is contained in:
2026-06-08 12:30:51 +02:00
parent 5648f672e0
commit 21808049bd
10 changed files with 1010 additions and 0 deletions
@@ -0,0 +1,99 @@
{{.AppName}} - Invito al team "{{.Team}}" di {{.Organization}}
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invito al Team</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Invito al Team
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<strong style="color:#1A2A48;">{{.Inviter}}</strong> ti ha invitato a far parte del team <strong style="color:#1A2A48;">{{.Team}}</strong> nell'organizzazione <strong style="color:#1A2A48;">{{.Organization}}</strong> su <strong>{{.AppName}}</strong>.
</td>
</tr>
</table>
<!-- Invitation details card -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Organizzazione</td>
</tr>
<tr>
<td style="font-size:16px;font-weight:600;color:#1A2A48;padding-bottom:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Organization}}</td>
</tr>
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Team</td>
</tr>
<tr>
<td style="font-size:16px;font-weight:600;color:#1A2A48;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Team}}</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.InviteURL}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Accetta Invito</a>
</td>
</tr>
</table>
<!-- Fallback link -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:16px;">
<tr>
<td style="font-size:12px;color:#888888;line-height:1.5;word-break:break-all;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Se il pulsante non funziona, copia e incolla questo link nel tuo browser:<br>
<a href="{{.InviteURL}}" style="color:#A58B5D;text-decoration:none;">{{.InviteURL}}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,92 @@
{{.Repo.FullName}} — {{.Run.WorkflowID}}: {{.RunStatusText}}
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no">
<title>{{.Subject}}</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<!-- Title -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="font-size:18px;font-weight:700;color:#1A2A48;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{.Repo.FullName}}
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Workflow <strong style="color:#1A2A48;">{{.Run.WorkflowID}}</strong> — {{.RunStatusText}}
</td>
</tr>
</table>
<!-- Jobs -->
{{range $job := .Jobs}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:8px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid {{if eq $job.Status.String "success"}}#28A745{{else if eq $job.Status.String "failure"}}#DC3545{{else}}#A58B5D{{end}};border-radius:0 4px 4px 0;padding:12px 16px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:14px;font-weight:600;color:#1A2A48;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<a href="{{$job.HTMLURL}}" style="color:#1A2A48;text-decoration:none;">
{{$job.Name}}{{if gt $job.Attempt 1}} (tentativo #{{$job.Attempt}}){{end}}
</a>
</td>
<td align="right" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{$job.Status}} &middot; {{$job.Duration}}
</td>
</tr>
</table>
</td>
</tr>
</table>
{{end}}
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:16px;">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.Run.HTMLURL}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Visualizza Workflow</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,86 @@
{{.AppName}} - Sei stato aggiunto come collaboratore a {{.Repo.FullName}}
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Collaboratore aggiunto</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Nuovo Collaboratore
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<strong style="color:#1A2A48;">{{.Doer.Name}}</strong> ti ha aggiunto come collaboratore alla repository:
</td>
</tr>
</table>
<!-- Repo card -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Repository</td>
</tr>
<tr>
<td style="font-size:18px;font-weight:700;color:#1A2A48;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<a href="{{.Repo.HTMLURL}}" style="color:#1A2A48;text-decoration:none;">{{.Repo.FullName}}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.Repo.HTMLURL}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Vai alla Repository</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,85 @@
{{.Issue.FullName}} - You have been assigned
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Issue Assignment</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Assegnazione Issue
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<strong style="color:#1A2A48;">{{.Doer.Name}}</strong> ti ha assegnato a
<a href="{{.Link}}" style="color:#A58B5D;text-decoration:none;font-weight:600;">{{.Issue.FullName}}</a>.
</td>
</tr>
</table>
<!-- Issue details -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Issue</td>
</tr>
<tr>
<td style="font-size:15px;color:#333333;font-weight:600;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Issue.FullName}}</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.Link}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Visualizza Issue</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,166 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no">
<title>{{.Subject}}</title>
<style>
blockquote { padding-left: 1em; margin: 1em 0; border-left: 2px solid #A58B5D; color: #666; }
{{if .ReviewComments}}
.review { padding-left: 1em; margin: 1em 0; }
.review > pre { padding: 1em; border-left: 2px solid #A58B5D; background: #F8F9FA; overflow-x: auto; }
{{end}}
</style>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<!-- Mention notice -->
{{if .IsMention}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="background-color:#FFF8E1;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:10px 16px;font-size:13px;color:#7A6A3A;font-family:system-ui,-apple-system,sans-serif;">
{{.locale.Tr "mail.issue.x_mentioned_you" .Doer.Name }}
</td>
</tr>
</table>
{{end}}
<!-- Action summary -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{if eq .ActionName "push"}}
{{if .Comment.IsForcePush}}
{{$oldCommitLink := printf "<a href='%s/commit/%s' style='color:#A58B5D;'><code>%s</code></a>" .Comment.Issue.PullRequest.BaseRepo.HTMLURL .Comment.OldCommit (ShortSha .Comment.OldCommit)}}
{{$newCommitLink := printf "<a href='%s/commit/%s' style='color:#A58B5D;'><code>%s</code></a>" .Comment.Issue.PullRequest.BaseRepo.HTMLURL .Comment.NewCommit (ShortSha .Comment.NewCommit)}}
{{.locale.Tr "mail.issue.action.force_push" .Doer.Name .Comment.Issue.PullRequest.HeadBranch $oldCommitLink $newCommitLink }}
{{else}}
{{.locale.TrN (len .Comment.Commits) "mail.issue.action.push_1" "mail.issue.action.push_n" .Doer.Name .Comment.Issue.PullRequest.HeadBranch (len .Comment.Commits) }}
{{end}}
{{else if eq .ActionName "close"}}
{{.locale.Tr "mail.issue.action.close" .Doer.Name .Issue.Index }}
{{else if eq .ActionName "reopen"}}
{{.locale.Tr "mail.issue.action.reopen" .Doer.Name .Issue.Index }}
{{else if eq .ActionName "merge"}}
{{.locale.Tr "mail.issue.action.merge" .Doer.Name .Issue.Index .Issue.PullRequest.BaseBranch }}
{{else if eq .ActionName "approve"}}
{{.locale.Tr "mail.issue.action.approve" .Doer.Name }}
{{else if eq .ActionName "reject"}}
{{.locale.Tr "mail.issue.action.reject" .Doer.Name }}
{{else if eq .ActionName "review"}}
{{.locale.Tr "mail.issue.action.review" .Doer.Name }}
{{else if eq .ActionName "review_dismissed"}}
{{.locale.Tr "mail.issue.action.review_dismissed" .Doer.Name .Comment.Review.Reviewer.Name }}
{{else if eq .ActionName "ready_for_review"}}
{{.locale.Tr "mail.issue.action.ready_for_review" .Doer.Name }}
{{end}}
</td>
</tr>
</table>
<!-- Content -->
{{if ne .Body ""}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;font-size:14px;color:#333333;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{.Body }}
</td>
</tr>
</table>
{{else if eq .ActionName "new"}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;font-size:14px;color:#333333;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{.locale.Tr "mail.issue.action.new" .Doer.Name .Issue.Index }}
</td>
</tr>
</table>
{{end}}
<!-- Review comments -->
{{- range .ReviewComments}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:12px;">
<tr>
<td style="font-size:12px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,sans-serif;">
{{$.locale.Tr "mail.issue.in_tree_path" .TreePath}}
</td>
</tr>
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:12px 16px;">
<pre style="margin:0 0 8px 0;padding:8px;background:#EAEEF2;border-radius:4px;font-size:12px;overflow-x:auto;">{{.Patch}}</pre>
<div style="font-size:14px;color:#333333;line-height:1.6;">{{.RenderedContent | SanitizeHTML}}</div>
</td>
</tr>
</table>
{{end -}}
<!-- Push commits -->
{{if eq .ActionName "push"}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:16px;">
<tr>
<td style="padding:8px 0;">
{{range .Comment.Commits}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:4px;">
<tr>
<td style="font-size:13px;font-family:system-ui,-apple-system,sans-serif;">
<a href="{{$.Comment.Issue.PullRequest.BaseRepo.HTMLURL}}/commit/{{.ID}}" style="color:#A58B5D;text-decoration:none;font-family:monospace;">{{ShortSha .ID.String}}</a>
<span style="color:#333333;"> — {{.Summary}}</span>
</td>
</tr>
</table>
{{end}}
</td>
</tr>
</table>
{{end}}
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.Link}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Visualizza su Gitea</a>
</td>
</tr>
{{if .CanReply}}
<tr>
<td align="center" style="padding-top:4px;font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
{{.locale.Tr "mail.reply"}}
</td>
</tr>
{{end}}
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,112 @@
{{.Release.Repo.FullName}}: New release "{{.Release.Title}}" ({{.Release.TagName}})
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Release</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Nuova Release
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.5;padding-bottom:16px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<strong style="color:#1A2A48;">{{.Release.Publisher.Name}}</strong> ha pubblicato una nuova release per <strong>{{.Release.Repo.FullName}}</strong>.
</td>
</tr>
</table>
<!-- Release info card -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;">
<tr>
<td style="padding:16px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:18px;font-weight:700;color:#1A2A48;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Release.Title}}</td>
</tr>
<tr>
<td style="font-size:13px;color:#888888;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Tag: <code style="background-color:#E8E8E8;padding:2px 6px;border-radius:3px;font-size:12px;color:#1A2A48;">{{.Release.TagName}}</code>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- Release notes -->
{{if .Release.Note}}
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:13px;font-weight:600;color:#888888;text-transform:uppercase;letter-spacing:1px;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Release Notes</td>
</tr>
<tr>
<td style="font-size:14px;color:#333333;line-height:1.6;padding:12px 16px;background-color:#FAFAFA;border-radius:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
{{.Release.Note}}
</td>
</tr>
</table>
{{end}}
<!-- Download links -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:13px;font-weight:600;color:#888888;text-transform:uppercase;letter-spacing:1px;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Download</td>
</tr>
<tr>
<td style="font-size:14px;color:#333333;line-height:2.0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
&#128230; <a href="{{.Release.TarURL}}" style="color:#A58B5D;text-decoration:none;">Source Code (tar.gz)</a><br>
&#128230; <a href="{{.Release.ZipURL}}" style="color:#A58B5D;text-decoration:none;">Source Code (zip)</a>
{{range .Release.Attachments}}<br>&#128206; <a href="{{.DownloadURL}}" style="color:#A58B5D;text-decoration:none;">{{.Name}} ({{.Size}})</a>{{end}}
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.Release.HTMLURL}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Visualizza Release</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,91 @@
{{.AppName}} - Attiva il tuo account
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Attivazione Account</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Attivazione Account
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Ciao <strong style="color:#1A2A48;">{{.DisplayName}}</strong>,
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;padding-top:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Grazie per esserti registrato su <strong>{{.AppName}}</strong>. Per completare la registrazione e attivare il tuo account, clicca sul pulsante qui sotto.
</td>
</tr>
</table>
<!-- Notice -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:12px 20px;font-size:13px;color:#888888;line-height:1.5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Questo link di attivazione scade tra <strong style="color:#1A2A48;">{{.ActiveCodeLives}}</strong>. Se il link scade, dovrai richiederne uno nuovo.
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.AppUrl}}user/activate?code={{.Code}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Attiva Account</a>
</td>
</tr>
</table>
<!-- Fallback link -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:16px;">
<tr>
<td style="font-size:12px;color:#888888;line-height:1.5;word-break:break-all;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Se il pulsante non funziona, copia e incolla questo link nel tuo browser:<br>
<a href="{{.AppUrl}}user/activate?code={{.Code}}" style="color:#A58B5D;text-decoration:none;">{{.AppUrl}}user/activate?code={{.Code}}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,91 @@
{{.AppName}} - Conferma il tuo indirizzo email
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Conferma Email</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Conferma Email
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Ciao <strong style="color:#1A2A48;">{{.DisplayName}}</strong>,
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;padding-top:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Per confermare l'indirizzo email <strong style="color:#1A2A48;">{{.Email}}</strong> associato al tuo account su <strong>{{.AppName}}</strong>, clicca sul pulsante qui sotto.
</td>
</tr>
</table>
<!-- Notice -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:12px 20px;font-size:13px;color:#888888;line-height:1.5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Questo link di conferma scade tra <strong style="color:#1A2A48;">{{.ActiveCodeLives}}</strong>. Se il link scade, dovrai richiederne uno nuovo.
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Conferma Email</a>
</td>
</tr>
</table>
<!-- Fallback link -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:16px;">
<tr>
<td style="font-size:12px;color:#888888;line-height:1.5;word-break:break-all;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Se il pulsante non funziona, copia e incolla questo link nel tuo browser:<br>
<a href="{{.AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}" style="color:#A58B5D;text-decoration:none;">{{.AppUrl}}user/activate_email?code={{.Code}}&amp;email={{.Email}}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,97 @@
{{.AppName}} - Benvenuto, {{.DisplayName}}!
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registrazione completata</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Benvenuto su {{.AppName}}!
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Ciao <strong style="color:#1A2A48;">{{.DisplayName}}</strong>,
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;padding-top:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Il tuo account e' stato creato con successo. Ecco i dettagli del tuo account:
</td>
</tr>
</table>
<!-- Account details card -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:16px 20px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Username</td>
</tr>
<tr>
<td style="font-size:16px;font-weight:600;color:#1A2A48;padding-bottom:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Username}}</td>
</tr>
<tr>
<td style="font-size:13px;color:#888888;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Istanza</td>
</tr>
<tr>
<td style="font-size:14px;color:#1A2A48;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<a href="{{.AppUrl}}" style="color:#A58B5D;text-decoration:none;">{{.AppUrl}}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.AppUrl}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Accedi a {{.AppName}}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,91 @@
{{.AppName}} - Recupero password
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recupero Password</title>
</head>
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
<tr>
<td align="center" style="padding:24px 0;">
<!-- Container -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
<!-- Header -->
<tr>
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
</td>
</tr>
<!-- Body -->
<tr>
<td style="background-color:#FFFFFF;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
<tr>
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Recupero Password
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Ciao <strong style="color:#1A2A48;">{{.DisplayName}}</strong>,
</td>
</tr>
<tr>
<td style="font-size:14px;color:#555555;line-height:1.6;padding-top:12px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Abbiamo ricevuto una richiesta di reimpostazione della password per il tuo account su <strong>{{.AppName}}</strong>. Clicca sul pulsante qui sotto per impostare una nuova password.
</td>
</tr>
</table>
<!-- Notice -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:24px;">
<tr>
<td style="background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;padding:12px 20px;font-size:13px;color:#888888;line-height:1.5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Questo link di recupero scade tra <strong style="color:#1A2A48;">{{.ResetPwdCodeLives}}</strong>. Se non hai richiesto tu il reset della password, puoi ignorare questa email.
</td>
</tr>
</table>
<!-- CTA Button -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" style="padding:8px 0;">
<a href="{{.AppUrl}}user/recover_account?code={{.Code}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Reimposta Password</a>
</td>
</tr>
</table>
<!-- Fallback link -->
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:16px;">
<tr>
<td style="font-size:12px;color:#888888;line-height:1.5;word-break:break-all;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
Se il pulsante non funziona, copia e incolla questo link nel tuo browser:<br>
<a href="{{.AppUrl}}user/recover_account?code={{.Code}}" style="color:#A58B5D;text-decoration:none;">{{.AppUrl}}user/recover_account?code={{.Code}}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td align="center" style="background-color:#F0F0F0;padding:24px;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" style="padding-bottom:10px;">
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
</td>
</tr>
<tr>
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>