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
6fe33804
Commit
6fe33804
authored
Jan 18, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dropdown containing CI Lint button on builds page
Link to CI Lint on builds page will be a separate button from now on.
parent
7506afe1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
index.html.haml
app/views/projects/builds/index.html.haml
+3
-9
summary.feature
features/project/builds/summary.feature
+1
-1
summary.rb
features/steps/project/builds/summary.rb
+2
-2
No files found.
app/views/projects/builds/index.html.haml
View file @
6fe33804
...
...
@@ -9,15 +9,9 @@
=
link_to
'Cancel running'
,
cancel_all_namespace_project_builds_path
(
@project
.
namespace
,
@project
),
data:
{
confirm:
'Are you sure?'
},
class:
'btn btn-danger'
,
method: :post
.dropdown.inline
%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
=
link_to
ci_lint_path
,
class:
'btn btn-default'
do
=
icon
(
'wrench'
)
%span
CI Lint
%ul
.nav-links
%li
{
class:
(
'active'
if
@scope
.
nil?
)}
...
...
features/project/builds/summary.feature
View file @
6fe33804
...
...
@@ -12,4 +12,4 @@ Feature: Project Builds Summary
Scenario
:
I
browse project builds page
When
I visit project builds page
Then
I see button to CI Lint
Tool
Then
I see button to CI Lint
features/steps/project/builds/summary.rb
View file @
6fe33804
...
...
@@ -12,9 +12,9 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
expect
(
page
).
to
have_css
'#build-trace'
end
step
'I see button to CI Lint
Tool
'
do
step
'I see button to CI Lint'
do
page
.
within
(
'.controls'
)
do
ci_lint_tool_link
=
page
.
find_link
(
'CI Lint
Tool
'
)
ci_lint_tool_link
=
page
.
find_link
(
'CI Lint'
)
expect
(
ci_lint_tool_link
[
:href
]).
to
eq
ci_lint_path
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