Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-22 21:30:42 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-26 01:39:02 +0400
commit0447ab375a988a328823d20cae0ddbbba652d74a (patch)
treea7eb467f5d85a74ba16ed40c99afc8778db53ce2 /app/views/shared/_clone_panel.html.haml
parentff396e0a7eb504e62c79277d2697cbc8c7c9e660 (diff)
Extract shared/clone_panel partial
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-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"