Fix public cloning option text on projects#edit page

This commit is contained in:
Riyad Preukschas 2013-01-19 01:30:05 +01:00
parent 7e6a5800b6
commit 359703c696

View file

@ -49,11 +49,14 @@
Public mode: Public mode:
.control-group .control-group
= f.label :public, class: 'control-label' do = f.label :public, class: 'control-label' do
%span Public http clone %span Public clone access
.controls .controls
= f.check_box :public = f.check_box :public
%span.descr %span.descr
If checked this project will be available for clone without any authentification. Also it will appears on #{link_to "Public page", public_root_path} If checked, this project can be cloned
%em without any
authentification.
It will also be listed on the #{link_to "public access directory", public_root_path}.
- if can? current_user, :change_namespace, @project - if can? current_user, :change_namespace, @project