Add back link on community show. Add styles on login to create topic.

This commit is contained in:
taitus
2017-09-01 12:46:39 +02:00
parent 47f897840a
commit 62003b3000
5 changed files with 25 additions and 9 deletions

View File

@@ -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 %>