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
2b0dd718
Commit
2b0dd718
authored
May 22, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change pipelines schedules help page path
parent
6233e56e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/pipeline_schedules/index.html.haml
app/views/projects/pipeline_schedules/index.html.haml
+2
-2
spec/features/projects/pipeline_schedules_spec.rb
spec/features/projects/pipeline_schedules_spec.rb
+1
-1
No files found.
app/views/projects/pipeline_schedules/index.html.haml
View file @
2b0dd718
...
@@ -7,14 +7,14 @@
...
@@ -7,14 +7,14 @@
=
render
"projects/pipelines/head"
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
%div
{
class:
container_class
}
#pipeline-schedules-callout
{
data:
{
docs_url:
help_page_path
(
'
ci/pipeline_
schedules'
)
}
}
#pipeline-schedules-callout
{
data:
{
docs_url:
help_page_path
(
'
user/project/pipelines/
schedules'
)
}
}
.top-area
.top-area
-
schedule_path_proc
=
->
(
scope
)
{
pipeline_schedules_path
(
@project
,
scope:
scope
)
}
-
schedule_path_proc
=
->
(
scope
)
{
pipeline_schedules_path
(
@project
,
scope:
scope
)
}
=
render
"tabs"
,
schedule_path_proc:
schedule_path_proc
,
all_schedules:
@all_schedules
,
scope:
@scope
=
render
"tabs"
,
schedule_path_proc:
schedule_path_proc
,
all_schedules:
@all_schedules
,
scope:
@scope
.nav-controls
.nav-controls
=
link_to
new_namespace_project_pipeline_schedule_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-create'
do
=
link_to
new_namespace_project_pipeline_schedule_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-create'
do
%span
New
S
chedule
%span
New
s
chedule
-
if
@schedules
.
present?
-
if
@schedules
.
present?
%ul
.content-list
%ul
.content-list
...
...
spec/features/projects/pipeline_schedules_spec.rb
View file @
2b0dd718
...
@@ -38,7 +38,7 @@ feature 'Pipeline Schedules', :feature do
...
@@ -38,7 +38,7 @@ feature 'Pipeline Schedules', :feature do
end
end
it
'creates a new scheduled pipeline'
do
it
'creates a new scheduled pipeline'
do
click_link
'New
S
chedule'
click_link
'New
s
chedule'
expect
(
page
).
to
have_content
(
'Schedule a new pipeline'
)
expect
(
page
).
to
have_content
(
'Schedule a new pipeline'
)
end
end
...
...
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