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
b53769ae
Commit
b53769ae
authored
Dec 08, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change "Cancel all" to "Cancel running"
parent
1b5302f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
app/views/projects/builds/index.html.haml
app/views/projects/builds/index.html.haml
+2
-3
No files found.
app/views/projects/builds/index.html.haml
View file @
b53769ae
...
...
@@ -3,10 +3,10 @@
.project-issuable-filter
.controls
-
if
@ci_project
&&
c
urrent_user
&&
c
an?
(
current_user
,
:manage_builds
,
@project
)
-
if
@ci_project
&&
can?
(
current_user
,
:manage_builds
,
@project
)
.pull-left.hidden-xs
-
if
@all_builds
.
running_or_pending
.
any?
=
link_to
'Cancel
all
'
,
cancel_all_namespace_project_builds_path
(
@project
.
namespace
,
@project
),
data:
{
confirm:
'Are you sure?'
},
class:
'btn btn-danger'
,
method: :post
=
link_to
'Cancel
running
'
,
cancel_all_namespace_project_builds_path
(
@project
.
namespace
,
@project
),
data:
{
confirm:
'Are you sure?'
},
class:
'btn btn-danger'
,
method: :post
%ul
.center-top-menu
%li
{
class:
(
'active'
if
@scope
.
nil?
)}
...
...
@@ -50,4 +50,3 @@
=
render
'projects/commit_statuses/commit_status'
,
commit_status:
build
,
commit_sha:
true
,
stage:
true
,
allow_retry:
true
=
paginate
@builds
,
theme:
'gitlab'
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