Make Pull default direction

This commit is contained in:
Luke Bennett 2018-08-03 13:07:40 +01:00
parent a1d2227404
commit 693b5ea809
No known key found for this signature in database
GPG Key ID: A738E9C68D3BF31A
1 changed files with 2 additions and 2 deletions

View File

@ -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