summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-04 22:18:53 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-04 22:18:53 +0200
commitbf06b3196dfd303665058455529e344d54867e25 (patch)
tree260d6fdc97258605c242c19f64fe84ce4c46f097 /app/views/shared
parent730e79e78785857fd706b73252547a5c7f6431d9 (diff)
downloadgitlab-ce-bf06b3196dfd303665058455529e344d54867e25.tar.gz
Make clone widget read-only
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_clone_panel.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index 7b5de4a6274..bd9ca729352 100644
--- a/app/views/shared/_clone_panel.html.haml
+++ b/app/views/shared/_clone_panel.html.haml
@@ -1,5 +1,4 @@
.input-prepend.project_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.gitlab.protocol.upcase
-
- = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge"
+ = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge", readonly: true