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:
authorStan Hu <stanhu@gmail.com>2016-03-19 22:30:00 +0300
committerStan Hu <stanhu@gmail.com>2016-03-20 08:47:27 +0300
commit68fa4de6e39dfa036bb74eeb01fa569c716aacdf (patch)
treeabe48e163c3f6dfe6d199410617ec71b38a0a82e /app/views/shared/_clone_panel.html.haml
parent01fe50a72513a88f2168c8c0a649661b1382a42b (diff)
Make HTTP(s) label consistent on clone bar
Sites that use http:// for the external_url should always display HTTP on the clone bar. Similarly, sites that use https:// should show HTTPS.
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r--app/views/shared/_clone_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index faf7e49ed29..5c7806459dd 100644
--- a/app/views/shared/_clone_panel.html.haml
+++ b/app/views/shared/_clone_panel.html.haml
@@ -12,7 +12,7 @@
SSH
%li
%a#http-selector{href: @project.http_url_to_repo}
- HTTPS
+ #{gitlab_config.protocol.upcase}
= text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true
.input-group-btn