diff --git a/views/profile/index.html.erb b/views/profile/index.html.erb index 199efef..6e2d6c2 100644 --- a/views/profile/index.html.erb +++ b/views/profile/index.html.erb @@ -11,7 +11,7 @@ <% end %>
- <%= render "blocks/profile_info_actions/join_leave_community" %> + <%= render "blocks/profile_info_actions/join_leave_community" if profile.class == "Community" %> <% if !user.nil? && user.has_permission?('edit_profile', profile) %>
<%= button :control_panel, _('Control Panel'), profile.admin_url %> -- libgit2 0.21.2