Commit 693b5ea8 authored by Luke Bennett's avatar Luke Bennett

Make Pull default direction

parent a1d22274
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment