diff options
author | Stan Hu <stanhu@gmail.com> | 2016-03-19 22:30:00 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-03-20 08:47:27 +0300 |
commit | 68fa4de6e39dfa036bb74eeb01fa569c716aacdf (patch) | |
tree | abe48e163c3f6dfe6d199410617ec71b38a0a82e /app/views/shared/_clone_panel.html.haml | |
parent | 01fe50a72513a88f2168c8c0a649661b1382a42b (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.haml | 2 |
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 |