Add back link on community show. Add styles on login to create topic.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<div class="jumbo light">
|
||||
<div class="row">
|
||||
<div class="small-12 column">
|
||||
<%= back_link_to community_back_link_path(@community) %>
|
||||
<h2><%= community_text(@community) %></h2>
|
||||
<p class="lead"> <%= community_title(@community) %> </p>
|
||||
<p><%= community_description(@community) %> </p>
|
||||
|
||||
@@ -39,8 +39,10 @@
|
||||
<% if user_signed_in? %>
|
||||
<%= t("community.show.create_first_community_topic.first_theme_not_logged_in") %>
|
||||
<% else %>
|
||||
<%= t("community.show.create_first_community_topic.sub_first_theme",
|
||||
link: link_to(t("community.show.create_first_community_topic.sign_link",
|
||||
org_name: setting['org_name']), new_user_session_path)).html_safe %>
|
||||
<div class="callout primary">
|
||||
<%= t("community.show.create_first_community_topic.sub_first_theme",
|
||||
link: link_to(t("community.show.create_first_community_topic.sign_link",
|
||||
org_name: setting['org_name']), new_user_session_path)).html_safe %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user