Commit 43dbd798 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve git clone panel

parent 3dc0031f
.input-prepend.input-append.project_clone_holder
.git-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.protocol.upcase
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
%span.add-on
- if @project.public
= public_icon
%span.cblue public
- else
= private_icon
%span.cgreen private
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5", readonly: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment