Sidebar: Added button to access the community. Created community.yml.
This commit is contained in:
committed by
taitus
parent
43c17c3fc7
commit
579a174704
@@ -158,7 +158,13 @@
|
|||||||
<% if current_user %>
|
<% if current_user %>
|
||||||
<%= render 'follows/follow_button', follow: find_or_build_follow(current_user, @proposal) %>
|
<%= render 'follows/follow_button', follow: find_or_build_follow(current_user, @proposal) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to t("community.show.access"), community_path(@proposal.community_id), class: 'button expanded' %>
|
|
||||||
|
<div class="sidebar-divider"></div>
|
||||||
|
<h2><%= t("community.sidebar.title") %></h2>
|
||||||
|
<p>
|
||||||
|
<%= t("community.sidebar.description") %>
|
||||||
|
</p>
|
||||||
|
<%= link_to t("community.sidebar.button_to_access"), community_path(@proposal.community_id), class: 'button hollow expanded' %>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
7
config/locales/es/community.yml
Normal file
7
config/locales/es/community.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
es:
|
||||||
|
community:
|
||||||
|
sidebar:
|
||||||
|
title: Comunidad
|
||||||
|
description: Partecipa a la comunidad de usuarios, da tu opinión.
|
||||||
|
button_to_access: Acceder a la comunidad
|
||||||
|
show:
|
||||||
@@ -951,7 +951,7 @@ ActiveRecord::Schema.define(version: 20170807082243) do
|
|||||||
t.boolean "email_digest", default: true
|
t.boolean "email_digest", default: true
|
||||||
t.boolean "email_on_direct_message", default: true
|
t.boolean "email_on_direct_message", default: true
|
||||||
t.boolean "official_position_badge", default: false
|
t.boolean "official_position_badge", default: false
|
||||||
t.datetime "password_changed_at", default: '2017-08-07 08:24:24', null: false
|
t.datetime "password_changed_at", default: '2017-08-07 11:14:09', null: false
|
||||||
t.boolean "created_from_signature", default: false
|
t.boolean "created_from_signature", default: false
|
||||||
t.integer "failed_email_digests_count", default: 0
|
t.integer "failed_email_digests_count", default: 0
|
||||||
t.text "former_users_data_log", default: ""
|
t.text "former_users_data_log", default: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user