From 00309aa157c8342a0e131e27cb0c272808760d70 Mon Sep 17 00:00:00 2001
From: decabeza
Date: Thu, 26 Oct 2017 17:51:10 +0200
Subject: [PATCH] changes message for not verified users
---
app/views/legislation/proposals/_votes.html.erb | 4 ++--
config/locales/en/legislation.yml | 3 ++-
config/locales/es/legislation.yml | 3 ++-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/app/views/legislation/proposals/_votes.html.erb b/app/views/legislation/proposals/_votes.html.erb
index cfc80aa1b..79e332e82 100644
--- a/app/views/legislation/proposals/_votes.html.erb
+++ b/app/views/legislation/proposals/_votes.html.erb
@@ -49,10 +49,10 @@
<%= t("votes.organizations") %>
- <% elsif user_signed_in? && !proposal.votable_by?(current_user)%>
+ <% elsif user_signed_in? && !proposal.votable_by?(current_user) %>
- <%= t("votes.anonymous",
+ <%= t("legislation.proposals.not_verified",
verify_account: link_to(t("votes.verify_account"), verification_path )).html_safe %>
diff --git a/config/locales/en/legislation.yml b/config/locales/en/legislation.yml
index 6d130e1c2..4924e1f3f 100644
--- a/config/locales/en/legislation.yml
+++ b/config/locales/en/legislation.yml
@@ -122,4 +122,5 @@ en:
share_comment: Comment on %{version_name} from process draft %{process_name}
proposals:
form:
- tags_label: "Categories"
\ No newline at end of file
+ tags_label: "Categories"
+ not_verified: "For vote proposals %{verify_account}."
\ No newline at end of file
diff --git a/config/locales/es/legislation.yml b/config/locales/es/legislation.yml
index fe5804e91..19038c747 100644
--- a/config/locales/es/legislation.yml
+++ b/config/locales/es/legislation.yml
@@ -122,4 +122,5 @@ es:
share_comment: Comentario sobre la %{version_name} del borrador del proceso %{process_name}
proposals:
form:
- tags_label: "CategorÃas"
\ No newline at end of file
+ tags_label: "CategorÃas"
+ not_verified: Para votar propuestas %{verify_account}.
\ No newline at end of file