47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
<% content_for :action_title, t("dashboard.mailing.index.title") %>
|
|
<div class="row expanded">
|
|
<div class="small-12 medium-9 dashboard-mail-preview column dashboard-mail-preview">
|
|
<div class="mail-header text-left">
|
|
<%= image_tag "quote_before_white.png" %>
|
|
<h1 class="inline"><%= proposal.title %></h1>
|
|
<%= image_tag "quote_after_white.png" %>
|
|
<h2><%= t("dashboard.mailer.forward.subtitle_html") %></h2>
|
|
</div>
|
|
|
|
<div class="margin-bottom">
|
|
<% if proposal.image.present? %>
|
|
<%= image_tag proposal.image.attachment.url(:large) %>
|
|
<% else %>
|
|
<%= image_tag "default_mailing.jpg" %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="mail-body">
|
|
<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_button"),
|
|
proposal_url(@proposal), class: "button large" %>
|
|
</div>
|
|
|
|
<p>
|
|
<%= t("dashboard.mailer.forward.share") %>
|
|
</p>
|
|
|
|
<div class="text-center">
|
|
<h3><%= t("dashboard.mailer.forward.share_in") %></h3>
|
|
<%= render partial: 'shared/social_share', locals: {
|
|
title: @proposal.title,
|
|
url: proposal_url(@proposal),
|
|
description: @proposal.summary } %>
|
|
|
|
<%= image_tag "logo_header_black.png" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render 'mailing_options' %>
|
|
</div>
|