From ebf62ef08dc4039ebe1d7c49f9c220a2b6a36158 Mon Sep 17 00:00:00 2001 From: Alessandro Cuoghi Date: Mon, 7 Aug 2017 13:43:57 +0200 Subject: [PATCH] Show: Created jumbo light and converted plain text to yml. --- app/views/communities/show.html.erb | 31 +++++++++++++++++------------ config/locales/es/community.yml | 3 +++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/app/views/communities/show.html.erb b/app/views/communities/show.html.erb index cb3f2334f..363644e17 100644 --- a/app/views/communities/show.html.erb +++ b/app/views/communities/show.html.erb @@ -1,17 +1,22 @@ -Comunidad de usuarios -
-<%= @community.proposal.title %> -
-Participa en la comunidad de esta propuesta - - -
-
- <%= render "topics/topics", topics: @community.topics %> +
+
+
+

<%= t("community.show.title") %>

+

<%= @community.proposal.title %>

+

<%= t("community.show.description") %>

+
-
- Participa - <%= link_to t("topic.new"), new_community_topic_path(@community.id), class: 'button expanded' %> +
+
+
+ <%= render "topics/topics", topics: @community.topics %> +
+
+ +
+ Participa + <%= link_to t("topic.new"), new_community_topic_path(@community.id), class: 'button expanded' %> +
diff --git a/config/locales/es/community.yml b/config/locales/es/community.yml index 8c303c800..fd5ce9e44 100644 --- a/config/locales/es/community.yml +++ b/config/locales/es/community.yml @@ -4,4 +4,7 @@ es: title: Comunidad description: Partecipa a la comunidad de usuarios, da tu opinión. button_to_access: Acceder a la comunidad + show: + title: Comunidad de usuarios + description: Participa en la comunidad de esta propuesta