Commit 5ffa5a412be43c8ca9d1a07ed84a55503bb1a3fd
Committed by
Thiago Ribeiro
1 parent
7ed2d55d
Exists in
master
and in
3 other branches
Add secret option in edit software community
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
views/profile_editor/edit_software_community.html.erb
@@ -32,6 +32,9 @@ | @@ -32,6 +32,9 @@ | ||
32 | </div> | 32 | </div> |
33 | <% else %> | 33 | <% else %> |
34 | <div> | 34 | <div> |
35 | + <%= 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" %> | ||
36 | + </div> | ||
37 | + <div> | ||
35 | <%= labelled_radio_button _('Public — show content of this group to all internet users'), 'profile_data[public_profile]', true, @profile.public_profile? %> | 38 | <%= labelled_radio_button _('Public — show content of this group to all internet users'), 'profile_data[public_profile]', true, @profile.public_profile? %> |
36 | </div> | 39 | </div> |
37 | <div> | 40 | <div> |
@@ -84,4 +87,4 @@ | @@ -84,4 +87,4 @@ | ||
84 | <% end %> | 87 | <% end %> |
85 | <% end %> | 88 | <% end %> |
86 | <% end %> | 89 | <% end %> |
87 | -<% end %> | ||
88 | \ No newline at end of file | 90 | \ No newline at end of file |
91 | +<% end %> |