Commit bf06b3196dfd303665058455529e344d54867e25
1 parent
730e79e7
Exists in
master
and in
4 other branches
Make clone widget read-only
Showing
3 changed files
with
2 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/assets/stylesheets/sections/projects.scss
app/views/shared/_clone_panel.html.haml
1 | 1 | .input-prepend.project_clone_holder |
2 | 2 | %button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH |
3 | 3 | %button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase |
4 | - | |
5 | - = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge" | |
4 | + = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge", readonly: true | ... | ... |