summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-21 13:06:26 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-21 13:06:26 +0300
commit43dbd7986e878e0a7f93ba962ab8073d22fb09f4 (patch)
tree2146d26740d9a043413c47016fcb5b610cbf2abc /app/views/shared
parent3dc0031fff5666d62d41ec0cc366b81aca102955 (diff)
downloadgitlab-ce-43dbd7986e878e0a7f93ba962ab8073d22fb09f4.tar.gz
Improve git clone panel
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_clone_panel.html.haml11
1 files changed, 2 insertions, 9 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index 5120902fa0e..ac7b9ee7f2d 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