_clone_panel.html.haml 475 Bytes
Newer Older
1
.input-prepend.input-append.project_clone_holder
2
  %button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
3
  %button{class: "btn", :"data-clone" => @project.http_url_to_repo}= gitlab_config.protocol.upcase
4
  = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
5
6
  %span.add-on
    - if @project.public
7
8
      = public_icon
      %span.cblue public
9
    - else
10
11
      = private_icon
      %span.cgreen private