- Fix INK theme: replace .ActiveCodeLives with correct field, remove from non-auth contexts (8 files)
- Fix hardcoded button text: use locale key mail.view_it_on in ember, heritage, ink, mono, terminal, terra (30+ files)
- Add missing {{if .CanReply}}mail.reply{{end}} block to all 10 themes default.tmpl
- Add missing mail.release.note locale label to all 10 themes release.tmpl
- Add missing mail.team_invite.text_3 to ink and terra team_invite.tmpl
- Add missing blockquote CSS to aurora, ink, mono, neon, terra default.tmpl
Verified: all 110 templates compile successfully with Go build-preview.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
61 lines
4.6 KiB
Cheetah
61 lines
4.6 KiB
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="x-apple-disable-message-reformatting" />
|
|
<title>{{.locale.Tr "mail.register_notify.title" (.DisplayName|DotEscape) AppName}}</title>
|
|
<style type="text/css">
|
|
body,.ExternalClass,.ReadMsgBody{background-color:#ede4d4}
|
|
@media only screen and (max-width:480px){
|
|
.resp-pad{padding-left:16px!important;padding-right:16px!important}
|
|
.resp-col{width:100%!important;display:block!important;border-left:none!important;padding-left:28px!important;padding-right:28px!important;padding-top:0!important}
|
|
.resp-btn{display:block!important;width:auto!important;text-align:center!important}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style="margin:0;padding:0;background:#ede4d4;font-family:Georgia,'Times New Roman',serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;">
|
|
<center style="width:100%;table-layout:fixed;">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="max-width:600px;background:#fefdfb;border:1px solid #c4a97d;">
|
|
<!-- masthead -->
|
|
<tr><td colspan="2" class="resp-pad" style="padding:24px 28px 16px;border-bottom:3px double #1a1a2e;">
|
|
<img src="{{AppUrl}}assets/img/favicon.png" alt="logo" width="24" height="24" style="display:inline-block;vertical-align:middle;margin-right:8px;border:0;outline:none;" />
|
|
<span style="font-size:18px;font-weight:700;color:#1a1a2e;font-variant:small-caps;letter-spacing:2px;">{{AppName}}</span><br />
|
|
<span style="font-size:11px;color:#888;font-style:italic;">Gitea Mail Templates</span>
|
|
</td></tr>
|
|
<!-- two-column body -->
|
|
<tr>
|
|
<!-- left column -->
|
|
<td class="resp-col" width="64%" style="padding:24px 24px 16px 28px;vertical-align:top;">
|
|
<p style="margin:0 0 16px;font-size:15px;color:#333;line-height:1.7;">
|
|
<span style="float:left;font-size:42px;line-height:1;font-weight:700;color:#1a1a2e;padding-right:8px;padding-top:2px;font-family:Georgia,serif;">D</span>{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}
|
|
</p>
|
|
<p style="margin:0 0 12px;font-size:13px;line-height:1.8;color:#444;">{{.locale.Tr "mail.register_notify.text_1" AppName}}</p>
|
|
<p style="margin:0 0 20px;font-size:12px;line-height:1.8;color:#666;font-style:italic;">{{.locale.Tr "mail.register_notify.text_2" .Username}}
|
|
{{$set_pwd_url := printf "%suser/forgot_password" AppUrl}}
|
|
{{.locale.Tr "mail.register_notify.text_3" $set_pwd_url}}</p>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" style="margin:0 0 24px;"><tr><td style="padding:10px 24px;background:#1a1a2e;border:1px solid #c4a97d;">
|
|
<a href="{{AppUrl}}user/login" class="resp-btn" style="display:inline-block;font-size:13px;font-weight:700;color:#fefdfb;text-decoration:none;font-variant:small-caps;letter-spacing:1px;">{{.locale.Tr "mail.view_it_on" AppName}} »</a>
|
|
</td></tr></table>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border:1px solid #c4a97d;background:#fefdfb;"><tr><td style="padding:12px 14px;">
|
|
<p style="margin:0 0 4px;font-size:10px;color:#888;font-style:italic;">{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
|
<p style="margin:0;font-size:10px;font-family:monospace;color:#1a1a2e;background:#f5f0e8;padding:8px 10px;border:1px solid #ddd;word-break:break-all;">{{AppUrl}}user/login</p>
|
|
</td></tr></table>
|
|
</td>
|
|
<!-- right column / sidebar -->
|
|
<td class="resp-col" width="36%" style="padding:24px 28px 16px 0;vertical-align:top;border-left:1px solid #ddd;">
|
|
<p style="margin:0 0 10px;font-size:10px;color:#888;text-transform:uppercase;letter-spacing:1px;font-family:system-ui,sans-serif;font-weight:700;">Quick Info</p>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-top:1px solid #ddd;border-bottom:1px solid #ddd;">
|
|
<tr><td style="padding:8px 0;font-size:11px;color:#555;font-family:system-ui,sans-serif;">From<br /><strong style="color:#1a1a2e;">{{AppName}}</strong></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- footer -->
|
|
<tr><td colspan="2" style="padding:16px 28px;border-top:1px solid #ccc;text-align:center;">
|
|
<p style="margin:0;font-size:11px;color:#888;font-style:italic;">© <a href="{{AppUrl}}" style="color:#1a1a2e;text-decoration:none;font-weight:600;border-bottom:1px dotted #c4a97d;">{{AppName}}</a> — Gitea Mail Templates</p>
|
|
</td></tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html> |