- Created new quotation marks without svg - Greater flexibility - Fix font Lato in PDF - change font family in pdf_font
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
<% content_for :action_title, t("dashboard.poster.index.title") %>
|
|
<div class="row expanded">
|
|
<div class="small-12 medium-9 column dashboard-poster-preview">
|
|
<div class="preview-min-width">
|
|
<div class="poster-header">
|
|
<h1>
|
|
<%= t("dashboard.poster.index.poster_title") %>
|
|
<br>
|
|
<span class="title-quote icon-finger"></span>
|
|
<%= t("dashboard.poster.index.poster_subtitle") %>
|
|
</h1>
|
|
<p class="intro"><%= t("dashboard.poster.index.intro_text").html_safe %></p>
|
|
<p class="text-center">
|
|
<strong><%= t("dashboard.poster.index.proposal_code", code: proposal.code) %></strong>
|
|
</p>
|
|
|
|
<div class="proposal-image">
|
|
<% if proposal.image.present? %>
|
|
<div class="overflow-image" style="background-image: url(<%= asset_url proposal.image.attachment.url(:large) %>);"></div>
|
|
<% else %>
|
|
<div class="overflow-image" style="background-image: url(<%= asset_url "default_mailing.jpg"%>);"></div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="poster-content">
|
|
<h2><%= t("dashboard.poster.index.support") %></h2>
|
|
|
|
<div class="quote">
|
|
<blockquote class="curly-quotes">
|
|
<h3><%= proposal.title %></h3>
|
|
</blockquote>
|
|
</div>
|
|
|
|
<p class="poster-footer"><%= t("dashboard.poster.index.footer").html_safe %></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render 'poster_options' %>
|
|
</div>
|