2013-04-26 13:59:29 -04:00
|
|
|
.input-prepend.input-append.project_clone_holder
|
2012-11-20 16:05:15 -05:00
|
|
|
%button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
|
2012-12-14 19:16:25 -05:00
|
|
|
%button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase
|
2013-04-26 15:12:43 -04:00
|
|
|
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
|
2013-04-26 13:59:29 -04:00
|
|
|
%span.add-on
|
|
|
|
- if @project.public
|
|
|
|
.cblue
|
|
|
|
%i.icon-share
|
|
|
|
public
|
|
|
|
- else
|
|
|
|
.cgreen
|
|
|
|
%i.icon-lock
|
|
|
|
private
|