From f607075c4a76b56c75f592b045b1b22c7378bb94 Mon Sep 17 00:00:00 2001
From: decabeza
Date: Thu, 25 Jan 2018 14:39:13 +0100
Subject: [PATCH] replaces hardcoded text to votes_for_proposal_success setting
---
app/views/proposals/index.html.erb | 11 ++++++-----
config/locales/es/pages.yml | 6 +++---
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/app/views/proposals/index.html.erb b/app/views/proposals/index.html.erb
index ec9645369..bc8c48c69 100644
--- a/app/views/proposals/index.html.erb
+++ b/app/views/proposals/index.html.erb
@@ -63,8 +63,8 @@
<% if @proposals.any? %>
- <%= link_to t("proposals.index.start_proposal"),
- new_proposal_guide,
+ <%= link_to t("proposals.index.start_proposal"),
+ new_proposal_guide,
class: 'button expanded' %>
<% end %>
@@ -85,7 +85,8 @@
<%= t("proposals.index.section_footer.description") %>
<%= t("proposals.index.section_footer.help_text_1") %>
<%= t("proposals.index.section_footer.help_text_2",
- org: link_to(setting['org_name'], new_user_registration_path)).html_safe %>
+ org: link_to(setting['org_name'], new_user_registration_path),
+ supports: setting["votes_for_proposal_success"]).html_safe %>
<%= t("proposals.index.section_footer.help_text_3") %>
<% end %>
@@ -94,8 +95,8 @@