summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-22 19:30:42 +0200
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-25 23:39:02 +0200
commit0447ab375a988a328823d20cae0ddbbba652d74a (patch)
treea7eb467f5d85a74ba16ed40c99afc8778db53ce2 /app/views/shared
parentff396e0a7eb504e62c79277d2697cbc8c7c9e660 (diff)
downloadgitlab-ce-0447ab375a988a328823d20cae0ddbbba652d74a.tar.gz
Extract shared/clone_panel partial
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_clone_panel.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
new file mode 100644
index 00000000000..947dc478b33
--- /dev/null
+++ b/app/views/shared/_clone_panel.html.haml
@@ -0,0 +1,4 @@
+.input-prepend.project_clone_holder
+ %button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
+ %button{class: "btn small", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.web_protocol.upcase
+ = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"