Improves styles for dashboard mailer preview

This commit is contained in:
decabeza
2018-10-13 13:01:38 +02:00
parent eeea1acd9f
commit 5d00952b05
2 changed files with 10 additions and 4 deletions

View File

@@ -424,7 +424,7 @@
.dashboard-mail-preview {
.mail-header {
background-color: $brand;
background: #3700fd;
color: #fff;
padding: $line-height;
text-align: center;
@@ -432,6 +432,10 @@
.mail-body {
text-align: justify;
.button {
background: #3700fd;
}
}
}

View File

@@ -15,14 +15,16 @@
</div>
<div class="mail-body">
<%== t("dashboard.mailer.forward.introduction") %>
<p><%= t("dashboard.mailer.forward.hi") %></p>
<p><%= t("dashboard.mailer.forward.introduction", org: setting['org_name']) %></p>
<p><%= t("dashboard.mailer.forward.support") %></p>
<div class="text-center">
<%= link_to t("dashboard.mailer.forward.support_it"),
<%= link_to t("dashboard.mailer.forward.support_button"),
proposal_url(@proposal), class: "button large" %>
</div>
<%== t("dashboard.mailer.forward.share_info") %>
<%= t("dashboard.mailer.forward.share") %>
<div class="text-center">
<h3><%= t("dashboard.mailer.forward.share_in") %></h3>