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
Léo-Paul Géneau
gitlab-ce
Commits
adcab296
Commit
adcab296
authored
Jan 15, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose link to CI Lint Tool on builds page
parent
6754caed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
app/views/projects/builds/index.html.haml
app/views/projects/builds/index.html.haml
+13
-1
No files found.
app/views/projects/builds/index.html.haml
View file @
adcab296
...
@@ -6,7 +6,19 @@
...
@@ -6,7 +6,19 @@
-
if
can?
(
current_user
,
:manage_builds
,
@project
)
-
if
can?
(
current_user
,
:manage_builds
,
@project
)
.pull-left.hidden-xs
.pull-left.hidden-xs
-
if
@all_builds
.
running_or_pending
.
any?
-
if
@all_builds
.
running_or_pending
.
any?
=
link_to
'Cancel running'
,
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
.pull-left.hidden-xs.hidden-sm
{
style:
'margin-left: 7px;'
}
.dropdown
%button
.btn.btn-default.dropdown-toggle
{
type:
'button'
,
id:
'tools-dropdown'
,
'data-toggle'
=>
'dropdown'
}
Tools
%span
.caret
%ul
.dropdown-menu.dropdown-menu-right
%li
=
link_to
ci_lint_path
do
=
icon
(
'wrench'
)
%span
CI Lint Tool
%ul
.nav-links
%ul
.nav-links
%li
{
class:
(
'active'
if
@scope
.
nil?
)}
%li
{
class:
(
'active'
if
@scope
.
nil?
)}
...
...
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