From 14f17983f4363efb2b0976d88f1da7ac57863018 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 6 Jun 2016 17:30:31 +0200 Subject: [PATCH] Improves styles for about receivers message --- app/views/proposal_notifications/new.html.erb | 14 ++++++++------ config/locales/en.yml | 2 +- config/locales/es.yml | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/proposal_notifications/new.html.erb b/app/views/proposal_notifications/new.html.erb index f8be10c2e..a5f829ecc 100644 --- a/app/views/proposal_notifications/new.html.erb +++ b/app/views/proposal_notifications/new.html.erb @@ -4,13 +4,15 @@

<%= t("proposal_notifications.new.title") %>

-

- <%= t("proposal_notifications.new.info_about_receivers", - count: @proposal.voters.count) %> +

+

+ <%= t("proposal_notifications.new.info_about_receivers_html", + count: @proposal.voters.count) %> - <%= link_to t("proposal_notifications.new.proposal_page"), - proposal_path(@proposal) %> -

+ <%= link_to t("proposal_notifications.new.proposal_page"), + proposal_path(@proposal) %> +

+
<%= form_for @notification do |f| %> <%= render "shared/errors", resource: @notification %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 059cf5cd6..8905e0f00 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 %{count} people and it will be visible in " proposal_page: "the proposal's page" show: back: "Go back to my activity" diff --git a/config/locales/es.yml b/config/locales/es.yml index 150c42583..24da77968 100755 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -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 %{count} usuarios y se publicará en " proposal_page: "la página de la propuesta" show: back: "Volver a mi actividad"