Merge Request #17

Merged
softwarepublico/colab!17
Created by Charles Oliveira

Gitlab hide https

hitting SSH button on clone options, making ssh the default (and unique) option for clone

Assignee: Sergio Oliveira
Milestone: None

Merged by Sergio Oliveira

Source branch has been removed
Commits (3)
2 participants
    9fe63c7bd60deeb55e409a1d7dd173f5?s=40&d=identicon
    Sergio Oliveira started a discussion on the outdated diff
    last updated by Sergio Oliveira
    colab/proxy/gitlab/templates/proxy/gitlab.html
    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 + // When there's clone buttons for HTTPS and SSH, hit SSH and make HTTPS disapear
      44 + if(jQuery('.git-clone-holder button'))
      45 + {
      46 + jQuery('.git-clone-holder button')[0].click();
    1
    9fe63c7bd60deeb55e409a1d7dd173f5?s=40&d=identicon
    Sergio Oliveira started a discussion on the outdated diff
    last updated by Sergio Oliveira
    colab/proxy/gitlab/templates/proxy/gitlab.html
    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 + // When there's clone buttons for HTTPS and SSH, hit SSH and make HTTPS disapear
      44 + if(jQuery('.git-clone-holder button'))
    1
    9fe63c7bd60deeb55e409a1d7dd173f5?s=40&d=identicon
    Sergio Oliveira started a discussion on the outdated diff
    last updated by Sergio Oliveira
    colab/proxy/gitlab/templates/proxy/gitlab.html
    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 + // When there's clone buttons for HTTPS and SSH, hit SSH and make HTTPS disapear
    1