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
c6d66230
Commit
c6d66230
authored
Feb 02, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate dashboard:projects:* to static bundle
parent
e95d4822
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
27 deletions
+21
-27
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+20
-26
app/assets/javascripts/pages/dashboard/projects/index.js
app/assets/javascripts/pages/dashboard/projects/index.js
+1
-1
No files found.
app/assets/javascripts/dispatcher.js
View file @
c6d66230
...
@@ -53,32 +53,6 @@ var Dispatcher;
...
@@ -53,32 +53,6 @@ var Dispatcher;
case
'
projects:issues:show
'
:
case
'
projects:issues:show
'
:
shortcut_handler
=
true
;
shortcut_handler
=
true
;
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
;
case
'
dashboard:projects:index
'
:
case
'
dashboard:projects:starred
'
:
import
(
'
./pages/dashboard/projects
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
explore:projects:index
'
:
case
'
explore:projects:index
'
:
case
'
explore:projects:trending
'
:
case
'
explore:projects:trending
'
:
case
'
explore:projects:starred
'
:
case
'
explore:projects:starred
'
:
...
@@ -469,6 +443,26 @@ var Dispatcher;
...
@@ -469,6 +443,26 @@ 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/dashboard/projects/index.js
View file @
c6d66230
import
ProjectsList
from
'
~/projects_list
'
;
import
ProjectsList
from
'
~/projects_list
'
;
export
default
()
=>
new
ProjectsList
(
);
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
new
ProjectsList
()
);
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