Sidebar: Added button to access the community. Created community.yml.

This commit is contained in:
Alessandro Cuoghi
2017-08-07 13:33:20 +02:00
committed by taitus
parent 43c17c3fc7
commit 579a174704
3 changed files with 15 additions and 2 deletions

View File

@@ -158,7 +158,13 @@
<% if current_user %>
<%= render 'follows/follow_button', follow: find_or_build_follow(current_user, @proposal) %>
<% 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>
</div>