mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Add email notifications for Cloud Renewals * Updates * Updates * Update app-layers * make build-templates * Add ability to set an env variable as a unix timestamp in s as the current date when getting DaysToExpiration * Add a mechanism to ensure at least one admin receives every email --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<mjml>
|
|
<mj-head>
|
|
<mj-include path="./partials/style.mjml" />
|
|
</mj-head>
|
|
<mj-body css-class="emailBody" background-color="#FFFFFF">
|
|
<mj-wrapper mj-class="email">
|
|
<mj-section>
|
|
<mj-column>
|
|
<mj-image mj-class="logo" src="{{.Props.SiteURL}}/static/images/logo_email_dark.png" />
|
|
</mj-column>
|
|
</mj-section>
|
|
<mj-section>
|
|
<mj-column>
|
|
<mj-text css-class="title" padding="0px">
|
|
{{.Props.Title}}
|
|
</mj-text>
|
|
<mj-text css-class="subTitle" padding="16px 24px 16px 24px">
|
|
{{.Props.SubTitle}}
|
|
</mj-text>
|
|
<mj-button href="{{.Props.ButtonURL}}" padding="0px"
|
|
css-class="button">{{.Props.Button}}</mj-button>
|
|
</mj-column>
|
|
</mj-section>
|
|
<mj-section padding="0px">
|
|
<mj-column>
|
|
<mj-image src="{{.Props.SiteURL}}/static/images/{{.Props.Image}}" width="312px"
|
|
padding="0px" />
|
|
</mj-column>
|
|
</mj-section>
|
|
<mj-section padding="44px 0px 24px 32px" border-bottom="1px solid #E5E5E5">
|
|
<mj-column>
|
|
<mj-text align="left" css-class="footerTitle" padding="0px">
|
|
{{.Props.QuestionTitle}}
|
|
</mj-text>
|
|
<mj-text align="left" font-size="14px" color="#3F4350" line-height="20px" padding="0px">
|
|
{{.Props.QuestionInfo}}
|
|
<a href="mailto:{{.Props.SupportEmail}}">
|
|
{{.Props.SupportEmail}}</a>
|
|
</mj-text>
|
|
</mj-column>
|
|
</mj-section>
|
|
<mj-section padding-top="2px">
|
|
<mj-column>
|
|
<mj-text css-class="emailFooter" padding="0px">
|
|
{{.Props.Organization}}
|
|
{{.Props.FooterV2}}
|
|
</mj-text>
|
|
</mj-column>
|
|
</mj-section>
|
|
|
|
</mj-wrapper>
|
|
</mj-body>
|
|
</mjml> |