Added default image for proposal dashboard mailing
This commit is contained in:
BIN
app/assets/images/default_mailing.jpg
Normal file
BIN
app/assets/images/default_mailing.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
@@ -3,6 +3,7 @@
|
||||
<h2><%= t("dashboard.mailer.forward.subtitle") %></h2>
|
||||
</header>
|
||||
<%= image_tag @proposal.image.attachment.url(:large), class: 'proposal-image' if @proposal.image.present? %>
|
||||
<%= image_tag 'default_mailing.jpg', class: 'proposal-image' unless @proposal.image.present? %>
|
||||
<div class="mail-body">
|
||||
<%== t("dashboard.mailer.forward.introduction") %>
|
||||
<%= link_to t("dashboard.mailer.forward.support_it"), proposal_url(@proposal), class: 'support-link' %>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<h2><%= t("dashboard.mailer.forward.subtitle") %></h2>
|
||||
</div>
|
||||
<%= image_tag proposal.image.attachment.url(:large), class: 'proposal-image' if proposal.image.present? %>
|
||||
<%= image_tag 'default_mailing.jpg', class: 'proposal-image' unless proposal.image.present? %>
|
||||
<div class="mail-body">
|
||||
<%== t("dashboard.mailer.forward.introduction") %>
|
||||
<%= link_to t("dashboard.mailer.forward.support_it"), proposal_url(@proposal), class: 'support-link' %>
|
||||
|
||||
Reference in New Issue
Block a user