Commit 4b4c1cff9173573ccfc331a04a37839fca7add64
Exists in
master
and in
39 other branches
Merge branch 'gitlab-hide-https' into 'master'
Gitlab hide https hitting SSH button on clone options, making ssh the default (and unique) option for clone
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
colab/proxy/gitlab/diazo.xml
colab/proxy/gitlab/templates/proxy/gitlab.html
... | ... | @@ -39,6 +39,10 @@ |
39 | 39 | // instead of editing bootstrap.css, we just removed '.hide' css class and |
40 | 40 | // toggled |
41 | 41 | $('.hide').removeClass('hide').css('display', 'none'); |
42 | + | |
43 | + // Hit the SSH clone button to select it by default | |
44 | + jQuery$(".git-clone-holder .btn:contains('SSH')").click() | |
45 | + | |
42 | 46 | }); |
43 | 47 | </script> |
44 | 48 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | ... | ... |