From 5ffa5a412be43c8ca9d1a07ed84a55503bb1a3fd Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Mon, 5 Oct 2015 20:29:38 +0200 Subject: [PATCH] Add secret option in edit software community --- views/profile_editor/edit_software_community.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/views/profile_editor/edit_software_community.html.erb b/views/profile_editor/edit_software_community.html.erb index d4cfc44..5c181b8 100644 --- a/views/profile_editor/edit_software_community.html.erb +++ b/views/profile_editor/edit_software_community.html.erb @@ -32,6 +32,9 @@ <% else %>
+ <%= labelled_check_box _("Secret — hide the community and all its contents for non members and other people can't join this community unless they are invited to."), 'profile_data[secret]', true, profile.secret, :class => "profile-secret-box" %> +
+
<%= labelled_radio_button _('Public — show content of this group to all internet users'), 'profile_data[public_profile]', true, @profile.public_profile? %>
@@ -84,4 +87,4 @@ <% end %> <% end %> <% end %> -<% end %> \ No newline at end of file +<% end %> -- libgit2 0.21.2