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
fd10ff30
Commit
fd10ff30
authored
Nov 06, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extract pagination into own folder and precompile in application.rb
parent
91a22eb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/vue_pagination/index.js.es6
app/assets/javascripts/vue_pagination/index.js.es6
+0
-0
app/assets/javascripts/vue_pipelines_index/index.js.es6
app/assets/javascripts/vue_pipelines_index/index.js.es6
+0
-1
app/views/projects/pipelines/index.html.haml
app/views/projects/pipelines/index.html.haml
+3
-0
config/application.rb
config/application.rb
+1
-0
No files found.
app/assets/javascripts/vue_p
ipelines_index/gl_pagination
.js.es6
→
app/assets/javascripts/vue_p
agination/index
.js.es6
View file @
fd10ff30
File moved
app/assets/javascripts/vue_pipelines_index/index.js.es6
View file @
fd10ff30
...
...
@@ -5,7 +5,6 @@
//= require ./store.js.es6
//= require ./pipeline_url.js.es6
//= require ./gl_pagination.js.es6
//= require ./pipeline_head.js.es6
//= require ./stages.js.es6
//= require ./pipeline_actions.js.es6
...
...
app/views/projects/pipelines/index.html.haml
View file @
fd10ff30
...
...
@@ -58,5 +58,8 @@
.vue-pipelines-index
=
page_specific_javascript_tag
(
'vue_icons/index.js'
)
-# ^^ this component loads Vue so the rest don't
-# this will no longer be an issue once Vue2 is global
=
page_specific_javascript_tag
(
'vue_pagination/index.js'
)
=
page_specific_javascript_tag
(
'vue_pipelines_status/index.js'
)
=
page_specific_javascript_tag
(
'vue_pipelines_index/index.js'
)
config/application.rb
View file @
fd10ff30
...
...
@@ -101,6 +101,7 @@ module Gitlab
config
.
assets
.
precompile
<<
"u2f.js"
config
.
assets
.
precompile
<<
"vue_pipelines_index/index.js"
config
.
assets
.
precompile
<<
"vue_pipelines_status/index.js"
config
.
assets
.
precompile
<<
"vue_pagination/index.js"
config
.
assets
.
precompile
<<
"vue_icons/index.js"
# Version of your assets, change this if you want to expire all your assets
...
...
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