Improves styles for about receivers message

This commit is contained in:
Alberto Garcia Cabeza
2016-06-06 17:30:31 +02:00
parent bdb5a83911
commit 14f17983f4
3 changed files with 10 additions and 8 deletions

View File

@@ -4,13 +4,15 @@
<h1><%= t("proposal_notifications.new.title") %></h1>
<p>
<%= t("proposal_notifications.new.info_about_receivers",
count: @proposal.voters.count) %>
<div class="callout primary">
<p>
<%= t("proposal_notifications.new.info_about_receivers_html",
count: @proposal.voters.count) %>
<%= link_to t("proposal_notifications.new.proposal_page"),
proposal_path(@proposal) %>
</p>
<%= link_to t("proposal_notifications.new.proposal_page"),
proposal_path(@proposal) %>
</p>
</div>
<%= form_for @notification do |f| %>
<%= render "shared/errors", resource: @notification %>

View File

@@ -370,7 +370,7 @@ en:
title_label: "Title"
body_label: "Message"
submit_button: "Send message"
info_about_receivers: "This message will be send to %{count} people and it will be visible in "
info_about_receivers_html: "This message will be send to <strong>%{count} people</strong> and it will be visible in "
proposal_page: "the proposal's page"
show:
back: "Go back to my activity"

View File

@@ -370,7 +370,7 @@ es:
title_label: "Título"
body_label: "Mensaje"
submit_button: "Enviar mensaje"
info_about_receivers: "Este mensaje se enviará a %{count} usuarios y se publicará en "
info_about_receivers_html: "Este mensaje se enviará a <strong>%{count} usuarios</strong> y se publicará en "
proposal_page: "la página de la propuesta"
show:
back: "Volver a mi actividad"