Improves styles for print_proposals

This commit is contained in:
Alberto Garcia Cabeza
2015-10-28 20:06:04 +01:00
parent f917c21c2a
commit 2e421ff760
6 changed files with 54 additions and 9 deletions

View File

@@ -5,14 +5,24 @@
<%= t('management.proposals.print.print_button') %>
</a>
<%= image_tag "header_print_proposals.jpg", class: "for-print-only" %>
<div class="filters">
<span class="for-print-only date-for-print"><%= l Date.today, format: :long %></span>
<h2 class="inline-block">
<%= t("proposals.index.select_order_long") %>
<span class="not-print"><%= t("proposals.index.select_order_long") %></span>
<span class="for-print-only"><%= t("management.print.proposals_title") %></span>
</h2>
<%= render 'shared/order_selector', i18n_namespace: "proposals.index" %>
</div>
<%= render @proposals %>
<div class="for-print-only">
<p><strong><%= t("management.print.info") %></strong><br>
<%= t("management.print.note") %></p>
</div>
</div>
</div>
</section>