Commit 43dbd7986e878e0a7f93ba962ab8073d22fb09f4
1 parent
3dc0031f
Exists in
master
and in
4 other branches
Improve git clone panel
Showing
1 changed file
with
2 additions
and
9 deletions
Show diff stats
app/views/shared/_clone_panel.html.haml
1 | -.input-prepend.input-append.project_clone_holder | 1 | +.git-clone-holder |
2 | %button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH | 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 | 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 | - %span.add-on | ||
6 | - - if @project.public | ||
7 | - = public_icon | ||
8 | - %span.cblue public | ||
9 | - - else | ||
10 | - = private_icon | ||
11 | - %span.cgreen private | 4 | + = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5", readonly: true |