diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-03 13:07:40 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-03 13:07:40 +0100 |
commit | 693b5ea80973abdea2fad543451652d65c4f966f (patch) | |
tree | c539167eea72fe1553c5930722cd82d17d820e7c /app/views/projects/mirrors | |
parent | a1d22274045da0cce94a81d64b3698bb092e70d1 (diff) | |
download | gitlab-ce-693b5ea80973abdea2fad543451652d65c4f966f.tar.gz |
Make Pull default direction
Diffstat (limited to 'app/views/projects/mirrors')
-rw-r--r-- | app/views/projects/mirrors/_mirror_repos.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/mirrors/_mirror_repos.html.haml b/app/views/projects/mirrors/_mirror_repos.html.haml index 6334ccb22a8..5f61d059d68 100644 --- a/app/views/projects/mirrors/_mirror_repos.html.haml +++ b/app/views/projects/mirrors/_mirror_repos.html.haml @@ -3,8 +3,8 @@ - can_push = can?(current_user, :admin_remote_mirror, @project) - can_pull = can?(current_user, :admin_mirror, @project) - options = [] -- options.unshift([_('Pull'), 'pull']) if can_pull -- options.unshift([_('Push'), 'push']) if can_push +- options.push([_('Pull'), 'pull']) if can_pull +- options.push([_('Push'), 'push']) if can_push %section.settings.project-mirror-settings.js-mirror-settings.no-animate{ class: ('expanded' if expanded) } .settings-header |