gitlab-org--gitlab-foss/app/views/shared/_clone_panel.html.haml

14 lines
490 B
Text
Raw Normal View History

.input-prepend.input-append.project_clone_holder
%button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
%span.add-on
- if @project.public
.cblue
%i.icon-share
public
- else
.cgreen
%i.icon-lock
private