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
eaab051b
Commit
eaab051b
authored
Mar 01, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mirror webpack bundle entry
parent
50c66197
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
config/webpack.config.js
config/webpack.config.js
+0
-1
ee/app/assets/javascripts/projects/mirrors/show/index.js
ee/app/assets/javascripts/projects/mirrors/show/index.js
+1
-1
ee/app/views/projects/mirrors/_show.html.haml
ee/app/views/projects/mirrors/_show.html.haml
+0
-3
No files found.
config/webpack.config.js
View file @
eaab051b
...
...
@@ -74,7 +74,6 @@ function generateEntries() {
issuable
:
'
ee/issuable/issuable_bundle.js
'
,
issues
:
'
ee/issues/issues_bundle.js
'
,
ldap_group_links
:
'
ee/groups/ldap_group_links.js
'
,
mirrors
:
'
ee/mirrors
'
,
ee_protected_branches
:
'
ee/protected_branches
'
,
service_desk
:
'
ee/projects/settings_service_desk/service_desk_bundle.js
'
,
roadmap
:
'
ee/roadmap
'
,
...
...
ee/app/assets/javascripts/
mirrors
/index.js
→
ee/app/assets/javascripts/
projects/mirrors/show
/index.js
View file @
eaab051b
import
MirrorPull
from
'
.
/mirror_pull
'
;
import
MirrorPull
from
'
ee/mirrors
/mirror_pull
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
mirrorPull
=
new
MirrorPull
(
'
.js-project-mirror-push-form
'
);
...
...
ee/app/views/projects/mirrors/_show.html.haml
View file @
eaab051b
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'mirrors'
-
if
can?
(
current_user
,
:admin_mirror
,
@project
)
=
render
'projects/mirrors/pull'
=
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