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
faee4006
Commit
faee4006
authored
Jan 25, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a future Ruby 2.1 failure
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
abf18830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+4
-4
No files found.
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
faee4006
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
.btn-group.inline
.btn-group.inline
-
if
actions
.
any?
-
if
actions
.
any?
.btn-group
.btn-group
%button
.dropdown-toggle.btn.btn-default.has-tooltip.js-pipeline-dropdown-manual-actions
{
type:
'button'
,
title:
'Manual build'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
:
'Manual build'
}
%button
.dropdown-toggle.btn.btn-default.has-tooltip.js-pipeline-dropdown-manual-actions
{
type:
'button'
,
title:
'Manual build'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
=>
'Manual build'
}
=
custom_icon
(
'icon_play'
)
=
custom_icon
(
'icon_play'
)
=
icon
(
'caret-down'
,
'aria-hidden'
=>
'true'
)
=
icon
(
'caret-down'
,
'aria-hidden'
=>
'true'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
%span
=
build
.
name
%span
=
build
.
name
-
if
artifacts
.
present?
-
if
artifacts
.
present?
.btn-group
.btn-group
%button
.dropdown-toggle.btn.btn-default.build-artifacts.has-tooltip.js-pipeline-dropdown-download
{
type:
'button'
,
title:
'Artifacts'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
:
'Artifacts'
}
%button
.dropdown-toggle.btn.btn-default.build-artifacts.has-tooltip.js-pipeline-dropdown-download
{
type:
'button'
,
title:
'Artifacts'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
=>
'Artifacts'
}
=
icon
(
"download"
)
=
icon
(
"download"
)
=
icon
(
'caret-down'
)
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
...
@@ -102,8 +102,8 @@
...
@@ -102,8 +102,8 @@
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
.cancel-retry-btns.inline
.cancel-retry-btns.inline
-
if
pipeline
.
retryable?
-
if
pipeline
.
retryable?
=
link_to
retry_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn has-tooltip'
,
title:
'Retry'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
:
'Retry'
,
method: :post
do
=
link_to
retry_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn has-tooltip'
,
title:
'Retry'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
=>
'Retry'
,
method: :post
do
=
icon
(
"repeat"
)
=
icon
(
"repeat"
)
-
if
pipeline
.
cancelable?
-
if
pipeline
.
cancelable?
=
link_to
cancel_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn btn-remove has-tooltip'
,
title:
'Cancel'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
:
'Cancel'
,
method: :post
do
=
link_to
cancel_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn btn-remove has-tooltip'
,
title:
'Cancel'
,
data:
{
toggle:
'dropdown'
,
placement:
'top'
},
'aria-label'
=>
'Cancel'
,
method: :post
do
=
icon
(
"remove"
)
=
icon
(
"remove"
)
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