mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
The rebrand had reached the product's own words and stopped at its links, so
every screen that offers help still handed the reader to the other vendor:
the training menu opened their academy, Report a Problem composed mail to
their address and cited their Zendesk articles, Contact Support opened their
ticket form, and the OpenID, SAML, LDAP, theme and API-token pages linked
their documentation. Three emails we send asked people to write to their
support and feedback addresses, and the invitation footer — the most-read mail
in the product — linked their homepage.
Where the docs host was already ours the slug still was not, so a reader saw
docs.hanzo.team/upgrade-mattermost in the status bar. Those keep the host and
lose the name.
The admin console examples too: an S3 bucket called mattermost-media, an
allowed-domain list of corp.mattermost.com, a subpath of /company/mattermost.
Two constants named the other product and pointed at ours, which is the same
contradiction one level down; one had no readers at all and is gone.
WHAT STAYS, and why each is not branding:
*.push.mattermost.com the HPNS endpoints, a service that is theirs
translate.mattermost.com the Weblate these translations come from
mattermost ldap idmigrate, ./bin/mattermost, mattermost.log
the command, the binary and the file, by their names
MattermostAppID, {{.MattermostUsername}}
a JSON field on the API and a template variable
the copyright headers a licence notice
en.json is GENERATED, and the committed one had drifted from the sources in
three places: two keys edited there and not in the source — the app showed the
new string and the extractor put the old one back — and one pair the sort
comparator orders the other way. Regenerated, so the two agree again.
Co-authored-by: Hanzo Dev <[email protected]>
168 lines
11 KiB
HTML
168 lines
11 KiB
HTML
{{define "cloud_welcome_email"}}
|
|
<html>
|
|
|
|
<head>
|
|
</head>
|
|
|
|
<body>
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"
|
|
style="margin-top: 20px; line-height: 1.7; color: #3D3C40;">
|
|
<tr>
|
|
<td>
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"
|
|
style="width: 724px; padding: 32px; background: #FFFFFF; color: #3D3C40;">
|
|
<tr>
|
|
<td style="padding: 24px 54px; border-radius: 8px; background: #FFFFFF; color: #3D3C40;">
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"
|
|
style="margin-bottom: 30px;">
|
|
<tr>
|
|
<td style="padding: 20px 20px 10px; text-align:center;">
|
|
<img src="{{.Props.WorkSpacePath}}/static/images/logo-email.png"
|
|
style="height: 21.7px;" alt="logo_email">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 600; font-size: 28px; line-height: 36px; letter-spacing: -0.02em; color: #3D3C40;">
|
|
{{.Props.Title}}
|
|
</p>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 16px; line-height: 24px; color: #3D3C40;">
|
|
{{.Props.Info}} <a href="{{.Props.WorkSpacePath}}" target="_blank"
|
|
rel="noopener noreferrer"
|
|
style="text-decoration: none; color: #6DA4EB;">{{.Props.DNS}}.</a>
|
|
{{.Props.Info2}}
|
|
</p>
|
|
<p style="text-align: center; margin-top: 30px; margin-bottom: 30px;">
|
|
<a href="{{.Props.WorkSpacePath}}" target="_blank" rel="noopener noreferrer"
|
|
style="padding: 14px 24px; position: static; background: #1C58D9; border-radius: 4px; margin: 0px 150px; font-family: sans-serif; font-style: normal; font-weight: 600; font-size: 16px; line-height: 18px; color: #FFFFFF; text-decoration: none;">{{.Props.Button}}</a>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<p
|
|
style="font-family: sans-serif; font-weight: 600; font-size: 22px; line-height: 28px; color: #3D3C40;">
|
|
{{.Props.SubTitle}}
|
|
</p>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; color: #3D3C40;">
|
|
{{.Props.SubTitleInfo}}
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" style="margin-top: 30px;">
|
|
<tr>
|
|
<td>
|
|
<div style="position: relative;">
|
|
<span>
|
|
<img src="{{.Props.WorkSpacePath}}/static/images/c_avatar.png"
|
|
style="height: 15px; width: 15px; transform: translateY(2px);" alt="c_avatar">
|
|
</span>
|
|
<span
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 600; font-size: 16px; line-height: 24px; color: #3D3C40; margin-left: 8px;">
|
|
{{.Props.InviteInfo}}
|
|
</span>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; color: #3D3C40; margin-left: 26px;">
|
|
{{.Props.InviteSubInfo}}
|
|
<a style="text-decoration: none; color: #6DA4EB;" target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="{{.Props.InviteSubInfoLink}}">{{.Props.InviteSubInfoLink}}</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div style="position: relative;">
|
|
<span>
|
|
<span>
|
|
<img src="{{.Props.WorkSpacePath}}/static/images/c_socket.png"
|
|
style="height: 15px; width: 15px; transform: translateY(2px);" alt="c_avatar">
|
|
</span>
|
|
</span>
|
|
<span
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 600; font-size: 16px; line-height: 24px; color: #3D3C40; margin-left: 8px;">
|
|
{{.Props.AddAppsInfo}}
|
|
</span>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; color: #3D3C40; margin-left: 26px;">
|
|
{{.Props.AddAppsSubInfo}}
|
|
<a style="text-decoration: none; color: #6DA4EB;" target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="{{.Props.AppMarketPlaceLink}}">{{.Props.AppMarketPlace}}</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div style="position: relative;">
|
|
<span>
|
|
<span>
|
|
<img src="{{.Props.WorkSpacePath}}/static/images/c_download.png"
|
|
style="height: 17px; width: 15px; transform: translateY(5px);" alt="c_avatar">
|
|
</span>
|
|
</span>
|
|
<span
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 600; font-size: 16px; line-height: 24px; color: #3D3C40; margin-left: 8px;">
|
|
{{.Props.DownloadMMInfo}}
|
|
</span>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; color: #3D3C40; margin-left: 26px;">
|
|
{{.Props.SignInSubInfo}} <a
|
|
style="text-decoration: none; color: #6DA4EB;" target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="{{.Props.DownloadMMAppsLink}}">{{.Props.MMApps}}</a>
|
|
{{.Props.SignInSubInfo2}}
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" style="margin-top: 50px;">
|
|
<tr>
|
|
<td>
|
|
<p
|
|
style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; color: #3D3C40;">
|
|
{{.Props.GettingStartedQuestions}} <a
|
|
style="text-decoration: none; color: #6DA4EB;"
|
|
href="mailto:[email protected]">[email protected].</a>
|
|
</p>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td style="padding: 20px 20px 10px; text-align:center;">
|
|
<img src="{{.Props.WorkSpacePath}}/static/images/invite_illustration.png"
|
|
width="320px" alt="invite_illustration">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td>
|
|
<p style="font-family: sans-serif; font-style: normal; font-weight: 400; font-size: 12px; line-height: 16px; text-align: center; color: rgba(61, 60, 64, 0.56);">{{.Props.Organization}}
|
|
{{.Props.FooterV2}}
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
{{end}}
|