fix: fix missied things
This commit is contained in:
parent
cb9e91d2fb
commit
dc136f427d
|
@ -62,7 +62,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td style="line-height: 24px; font-size: 16px; margin: 0;" align="left">
|
||||
<img class="w-24" src="{{AppUrl}}/assets/img/logo.svg" style="height: auto; line-height: 100%; outline: none; text-decoration: none; display: block; width: 96px; border-style: none; border-width: 0;" width="96">
|
||||
<img class="w-24" src="{{AppUrl}}assets/img/logo.svg" style="height: auto; line-height: 100%; outline: none; text-decoration: none; display: block; width: 96px; border-style: none; border-width: 0;" width="96">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -94,6 +94,7 @@
|
|||
{{else}}
|
||||
updated
|
||||
{{end}}
|
||||
{{.Repo}}#{{.Issue.Index}}
|
||||
</h1>
|
||||
<table class="s-4 w-full" role="presentation" border="0" cellpadding="0" cellspacing="0" style="width: 100%;" width="100%">
|
||||
<tbody>
|
||||
|
@ -105,28 +106,10 @@
|
|||
</tbody>
|
||||
</table>
|
||||
{{if not (eq .Body "")}}
|
||||
<p class="" style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;" align="left">
|
||||
<p style="line-height: 24px; font-size: 16px; width: 100%; margin: 0;" align="left">
|
||||
{{.Body | Str2html}}
|
||||
</p>
|
||||
<table class="s-4 w-full" role="presentation" border="0" cellpadding="0" cellspacing="0" style="width: 100%;" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="line-height: 16px; font-size: 16px; width: 100%; height: 16px; margin: 0;" align="left" width="100%" height="16">
|
||||
 
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{end}}
|
||||
<table class="btn btn-primary p-3 fw-700" role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-radius: 6px; border-collapse: separate !important; font-weight: 700 !important;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="line-height: 24px; font-size: 16px; border-radius: 6px; font-weight: 700 !important; margin: 0;" align="center" bgcolor="#0d6efd">
|
||||
<a href="{{.Link}}" style="color: #ffffff; font-size: 16px; font-family: Helvetica, Arial, sans-serif; text-decoration: none; border-radius: 6px; line-height: 20px; display: block; font-weight: 700 !important; white-space: nowrap; background-color: #0d6efd; padding: 12px; border: 1px solid #0d6efd;">Visit Issue</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -141,6 +124,26 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<div class="">
|
||||
<div class="text-center" style="" align="center">
|
||||
<table class="btn btn-primary p-3 fw-700" role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-radius: 6px; border-collapse: separate !important; font-weight: 700 !important;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="line-height: 24px; font-size: 16px; border-radius: 6px; font-weight: 700 !important; margin: 0;" align="center" bgcolor="#0d6efd">
|
||||
<a href="{{.Link}}" style="color: #ffffff; font-size: 16px; font-family: Helvetica, Arial, sans-serif; text-decoration: none; border-radius: 6px; line-height: 20px; display: block; font-weight: 700 !important; white-space: nowrap; background-color: #0d6efd; padding: 12px; border: 1px solid #0d6efd;">Visit Issue</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<table class="s-4 w-full" role="presentation" border="0" cellpadding="0" cellspacing="0" style="width: 100%;" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="line-height: 16px; font-size: 16px; width: 100%; height: 16px; margin: 0;" align="left" width="100%" height="16">
|
||||
 
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="text-muted text-center" style="line-height: 24px; font-size: 16px; color: #718096; width: 100%; margin: 0;" align="center">{{AppName}}</p>
|
||||
<p class="text-green-500 text-center" style="line-height: 24px; font-size: 16px; color: #198754; width: 100%; margin: 0;" align="center">
|
||||
{{if .IsMention}}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</head>
|
||||
<body class="bg-light">
|
||||
<div class="container">
|
||||
<img class="ax-center my-10 w-24" src="{{AppUrl}}/assets/img/logo.svg" />
|
||||
<img class="ax-center my-10 w-24" src="{{AppUrl}}assets/img/logo.svg" />
|
||||
<div class="card p-6 p-lg-10 space-y-4">
|
||||
<h1 class="h3 fw-700">
|
||||
@{{.Doer.Name}}
|
||||
|
@ -27,15 +27,19 @@
|
|||
{{else}}
|
||||
updated
|
||||
{{end}}
|
||||
|
||||
{{.Repo}}#{{.Issue.Index}}
|
||||
</h1>
|
||||
{{if not (eq .Body "")}}
|
||||
<p>
|
||||
{{.Body | Str2html}}
|
||||
</p>
|
||||
{{end}}
|
||||
<a class="btn btn-primary p-3 fw-700" href="{{.Link}}">Visit Issue</a>
|
||||
</div>
|
||||
<div class="my-6">
|
||||
<div class="text-center mb-4">
|
||||
<a class="btn btn-primary p-3 fw-700" href="{{.Link}}">Visit Issue</a>
|
||||
</div>
|
||||
<p class="text-muted text-center">{{AppName}}</p>
|
||||
<p class="text-green-500 text-center">
|
||||
{{if .IsMention}}
|
||||
|
|
Loading…
Reference in a new issue