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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
b63674e2
Commit
b63674e2
authored
Feb 16, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate admin:users:* to static bundle
parent
dc9b2a8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
24 deletions
+4
-24
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-20
app/assets/javascripts/pages/admin/projects/index/index.js
app/assets/javascripts/pages/admin/projects/index/index.js
+2
-2
app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue
...cripts/pages/admin/users/components/delete_user_modal.vue
+0
-0
app/assets/javascripts/pages/admin/users/index.js
app/assets/javascripts/pages/admin/users/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
b63674e2
...
@@ -359,26 +359,6 @@ var Dispatcher;
...
@@ -359,26 +359,6 @@ var Dispatcher;
.
then
(
callDefault
)
.
then
(
callDefault
)
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
admin:jobs:index
'
:
import
(
'
./pages/admin/jobs/index
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
admin:projects:index
'
:
import
(
'
./pages/admin/projects/index/index
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
admin:users:index
'
:
import
(
'
./pages/admin/users/shared
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
admin:users:show
'
:
import
(
'
./pages/admin/users/shared
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
}
}
switch
(
path
[
0
])
{
switch
(
path
[
0
])
{
case
'
sessions
'
:
case
'
sessions
'
:
...
...
app/assets/javascripts/pages/admin/projects/index/index.js
View file @
b63674e2
...
@@ -5,7 +5,7 @@ import csrf from '~/lib/utils/csrf';
...
@@ -5,7 +5,7 @@ import csrf from '~/lib/utils/csrf';
import
deleteProjectModal
from
'
./components/delete_project_modal.vue
'
;
import
deleteProjectModal
from
'
./components/delete_project_modal.vue
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
Vue
.
use
(
Translate
);
Vue
.
use
(
Translate
);
const
deleteProjectModalEl
=
document
.
getElementById
(
'
delete-project-modal
'
);
const
deleteProjectModalEl
=
document
.
getElementById
(
'
delete-project-modal
'
);
...
@@ -34,4 +34,4 @@ export default () => {
...
@@ -34,4 +34,4 @@ export default () => {
deleteModal
.
projectName
=
buttonProps
.
projectName
;
deleteModal
.
projectName
=
buttonProps
.
projectName
;
}
}
});
});
};
}
)
;
app/assets/javascripts/pages/admin/users/
shared/
components/delete_user_modal.vue
→
app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue
View file @
b63674e2
File moved
app/assets/javascripts/pages/admin/users/
shared/
index.js
→
app/assets/javascripts/pages/admin/users/index.js
View file @
b63674e2
...
@@ -5,7 +5,7 @@ import csrf from '~/lib/utils/csrf';
...
@@ -5,7 +5,7 @@ import csrf from '~/lib/utils/csrf';
import
deleteUserModal
from
'
./components/delete_user_modal.vue
'
;
import
deleteUserModal
from
'
./components/delete_user_modal.vue
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
Vue
.
use
(
Translate
);
Vue
.
use
(
Translate
);
const
deleteUserModalEl
=
document
.
getElementById
(
'
delete-user-modal
'
);
const
deleteUserModalEl
=
document
.
getElementById
(
'
delete-user-modal
'
);
...
@@ -40,4 +40,4 @@ export default () => {
...
@@ -40,4 +40,4 @@ export default () => {
deleteModal
.
username
=
buttonProps
.
username
;
deleteModal
.
username
=
buttonProps
.
username
;
}
}
});
});
};
}
)
;
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