Adds comments anchor on form link

This commit is contained in:
Alberto Garcia Cabeza
2016-06-15 17:03:33 +02:00
parent 60c1fdcb27
commit e87fda2c8d
3 changed files with 5 additions and 6 deletions

View File

@@ -7,10 +7,9 @@
<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) %>
count: @proposal.voters.count,
proposal_page: link_to(t("proposal_notifications.new.proposal_page"),
proposal_path(@proposal, anchor: "comments"))).html_safe %>
</p>
</div>

View File

@@ -374,7 +374,7 @@ en:
title_label: "Title"
body_label: "Message"
submit_button: "Send message"
info_about_receivers_html: "This message will be send to <strong>%{count} people</strong> 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}."
proposal_page: "the proposal's page"
show:
back: "Go back to my activity"

View File

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