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
5655ff0f
Commit
5655ff0f
authored
May 10, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure schedule_form and schedules_index both utilize common_vue bundle
parent
99f36c2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
app/views/projects/pipeline_schedules/_form.html.haml
app/views/projects/pipeline_schedules/_form.html.haml
+2
-1
app/views/projects/pipeline_schedules/index.html.haml
app/views/projects/pipeline_schedules/index.html.haml
+2
-2
config/webpack.config.js
config/webpack.config.js
+3
-1
No files found.
app/views/projects/pipeline_schedules/_form.html.haml
View file @
5655ff0f
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'schedule_form'
)
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'schedule_form'
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@schedule
],
as: :schedule
,
html:
{
id:
"new-pipeline-schedule-form"
,
class:
"form-horizontal js-pipeline-schedule-form"
}
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@schedule
],
as: :schedule
,
html:
{
id:
"new-pipeline-schedule-form"
,
class:
"form-horizontal js-pipeline-schedule-form"
}
do
|
f
|
=
form_errors
(
@schedule
)
=
form_errors
(
@schedule
)
...
...
app/views/projects/pipeline_schedules/index.html.haml
View file @
5655ff0f
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'schedules_index'
)
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'schedules_index'
-
@no_container
=
true
-
@no_container
=
true
-
page_title
"Pipeline Schedules"
-
page_title
"Pipeline Schedules"
...
@@ -21,4 +22,3 @@
...
@@ -21,4 +22,3 @@
-
else
-
else
.light-well
.light-well
.nothing-here-block
No schedules
.nothing-here-block
No schedules
config/webpack.config.js
View file @
5655ff0f
...
@@ -142,13 +142,15 @@ var config = {
...
@@ -142,13 +142,15 @@ var config = {
'
environments
'
,
'
environments
'
,
'
environments_folder
'
,
'
environments_folder
'
,
'
filtered_search
'
,
'
filtered_search
'
,
'
sidebar
'
,
'
issue_show
'
,
'
issue_show
'
,
'
merge_conflicts
'
,
'
merge_conflicts
'
,
'
notebook_viewer
'
,
'
notebook_viewer
'
,
'
pdf_viewer
'
,
'
pdf_viewer
'
,
'
pipelines
'
,
'
pipelines
'
,
'
pipelines_graph
'
,
'
pipelines_graph
'
,
'
schedule_form
'
,
'
schedules_index
'
,
'
sidebar
'
,
],
],
minChunks
:
function
(
module
,
count
)
{
minChunks
:
function
(
module
,
count
)
{
return
module
.
resource
&&
(
/vue_shared/
).
test
(
module
.
resource
);
return
module
.
resource
&&
(
/vue_shared/
).
test
(
module
.
resource
);
...
...
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