Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
adac0eb4
Commit
adac0eb4
authored
May 08, 2018
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only have one projects/mirrors/_show partial with both push and pull mirrors
parent
de43719e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app/views/projects/mirrors/_show.html.haml
app/views/projects/mirrors/_show.html.haml
+3
-1
ee/app/views/projects/mirrors/_show.html.haml
ee/app/views/projects/mirrors/_show.html.haml
+0
-4
No files found.
app/views/projects/mirrors/_show.html.haml
View file @
adac0eb4
-
if
can?
(
current_user
,
:admin_mirror
,
@project
)
=
render
'projects/mirrors/pull'
-
if
can?
(
current_user
,
:admin_remote_mirror
,
@project
)
=
render
'projects/mirrors/push'
ee/app/views/projects/mirrors/_show.html.haml
deleted
100644 → 0
View file @
de43719e
-
if
can?
(
current_user
,
:admin_mirror
,
@project
)
=
render
'projects/mirrors/pull'
-
if
can?
(
current_user
,
:admin_remote_mirror
,
@project
)
=
render
'projects/mirrors/push'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment