From 43dbd7986e878e0a7f93ba962ab8073d22fb09f4 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 21 Oct 2013 13:06:26 +0300 Subject: [PATCH] Improve git clone panel --- app/views/shared/_clone_panel.html.haml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 5120902..ac7b9ee 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -1,11 +1,4 @@ -.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 -- libgit2 0.21.2