BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a9ec2427
Commit
a9ec2427
authored
May 10, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pipeline id to Last Pipeline cell link.
parent
e3fa5275
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
_pipeline_schedule.html.haml
.../projects/pipeline_schedules/_pipeline_schedule.html.haml
+1
-0
pipeline_schedules_spec.rb
spec/features/projects/pipeline_schedules_spec.rb
+2
-1
No files found.
app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml
View file @
a9ec2427
...
...
@@ -10,6 +10,7 @@
.status-icon-container
{
class:
"ci-status-icon-#{pipeline_schedule.last_pipeline.status}"
}
=
link_to
namespace_project_pipeline_path
(
@project
.
namespace
,
@project
,
pipeline_schedule
.
last_pipeline
.
id
)
do
=
ci_icon_for_status
(
pipeline_schedule
.
last_pipeline
.
status
)
%span
##{pipeline_schedule.last_pipeline.id}
-
else
None
%td
.next-run-cell
...
...
spec/features/projects/pipeline_schedules_spec.rb
View file @
a9ec2427
...
...
@@ -6,6 +6,7 @@ feature 'Pipeline Schedules', :feature do
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:pipeline_schedule
)
{
create
(
:ci_pipeline_schedule
,
project:
project
)
}
let!
(
:pipeline
)
{
create
(
:ci_pipeline
,
pipeline_schedule:
pipeline_schedule
)
}
let
(
:scope
)
{
nil
}
let!
(
:user
)
{
create
(
:user
)
}
...
...
@@ -32,7 +33,7 @@ feature 'Pipeline Schedules', :feature do
page
.
within
(
'.pipeline-schedule-table-row'
)
do
expect
(
page
).
to
have_content
(
'pipeline schedule'
)
expect
(
page
).
to
have_link
(
'master'
)
expect
(
page
).
to
have_
content
(
'None'
)
expect
(
page
).
to
have_
link
(
"#
#{
pipeline
.
id
}
"
)
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