chore: modified var name

This commit is contained in:
Zack Fu Zi Xiang 2024-04-28 15:28:27 +08:00
parent f38e76db5a
commit 34151117fb
No known key found for this signature in database
1 changed files with 8 additions and 8 deletions

View File

@ -47,12 +47,12 @@
<tr>
<td style="width: 552px; max-width: 100%">
<div style="width: 100%; text-align: center">
<img src="{{ .UserIconURL }}" width="48px" height="48px" alt="{{ .UserName }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; border-radius: 9999px; object-fit: cover">
<img src="{{ user_icon_url }}" width="48px" height="48px" alt="{{ username }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; border-radius: 9999px; object-fit: cover">
</div>
<p style="width: 100%; white-space: normal; overflow-wrap: break-word; text-align: center; font-size: 24px">
<span style="font-size: 30px; font-weight: 700">{{ .UserName }}</span>
<span style="font-size: 30px; font-weight: 700">{{ username }}</span>
<span>invited to Join</span>
<span style="font-size: 30px; font-weight: 700;">{{ .WorkspaceName }}</span>
<span style="font-size: 30px; font-weight: 700;">{{ workspace_name }}</span>
<span>on AppFlowy</span>
</p>
<div role="separator" style="background-color: #cbd5e1; height: 1px; line-height: 1px; margin: 24px 20%">&zwj;</div>
@ -65,7 +65,7 @@
</td>
<td style="width: 25%">
<div style="margin-right: 8px; height: 60px; width: 60px; overflow: hidden; border-radius: 16px; background-color: #fff; border: 2px solid black">
<img src="{{ .WorkspaceIconURL }}" width="100%" height="100%" alt="{{ .WorkspaceName }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; object-fit: cover;">
<img src="{{ workspace_icon_url }}" width="100%" height="100%" alt="{{ workspace_name }}" style="max-width: 100%; vertical-align: middle; line-height: 1; overflow: hidden; object-fit: cover;">
</div>
</td>
</tr>
@ -73,14 +73,14 @@
</td>
<td style="width: 58.333333%">
<div style="margin-bottom: 8px; font-weight: 700">
{{ .WorkspaceName }}
{{ wokspace_name }}
</div>
<div style="font-size: 14px; color: #64748b"> {{ .WorkspaceMembersCount }} members</div>
<div style="font-size: 14px; color: #64748b"> {{ workspace_member_count }} members</div>
</td>
</tr>
</table>
<div style="text-align: center;">
<a href="{{ .AcceptUrl }}" class="hover-opacity-90" style="margin-top: 32px; margin-bottom: 32px; display: inline-block; height: 34px; width: 60%; cursor: pointer; border-radius: 16px; padding: 16px 24px; color: #f8fafc; text-decoration: none; background-color: #9327ff; font-size: 20px; font-weight: 400; line-height: 34px">
<a href="{{ accept_url }}" class="hover-opacity-90" style="margin-top: 32px; margin-bottom: 32px; display: inline-block; height: 34px; width: 60%; cursor: pointer; border-radius: 16px; padding: 16px 24px; color: #f8fafc; text-decoration: none; background-color: #9327ff; font-size: 20px; font-weight: 400; line-height: 34px">
<!--[if mso]>
<i style="mso-font-width: 150%; mso-text-raise: 30px" hidden>&emsp;</i>
<![endif]-->
@ -181,4 +181,4 @@
</div>
</div>
</body>
</html>
</html>