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
8961364c
Commit
8961364c
authored
Apr 22, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
8b56fbd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
app/views/shared/issuable/_filter.html.haml
app/views/shared/issuable/_filter.html.haml
+13
-0
features/steps/project/pages.rb
features/steps/project/pages.rb
+1
-1
No files found.
app/views/shared/issuable/_filter.html.haml
View file @
8961364c
...
...
@@ -23,6 +23,19 @@
.filter-item.inline.labels-filter
=
render
"shared/issuable/label_dropdown"
-
if
controller
.
controller_name
==
'issues'
.filter-item.inline.weight-filter
-
if
params
[
:weight
]
=
hidden_field_tag
(
:weight
,
params
[
:weight
])
=
dropdown_tag
(
"Weight"
,
options:
{
title:
"Filter by weight"
,
toggle_class:
'js-weight-select js-filter-submit'
,
dropdown_class:
"dropdown-menu-selectable"
,
placeholder:
"Search weight"
,
data:
{
field_name:
"weight"
}
})
do
%ul
-
Issue
.
weight_options
.
each
do
|
weight
|
%li
%a
{
href:
"#"
,
data:
{
id:
weight
},
class:
(
"is-active"
if
params
[
:weight
]
==
weight
.
to_s
)}
=
weight
.pull-right
=
render
'shared/sort_dropdown'
...
...
features/steps/project/pages.rb
View file @
8961364c
...
...
@@ -27,7 +27,7 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
step
'pages are deployed'
do
commit
=
@project
.
ensure_ci_commit
(
@project
.
commit
(
'HEAD'
).
sha
)
commit
=
@project
.
ensure_ci_commit
(
@project
.
commit
(
'HEAD'
).
sha
,
'HEAD'
)
build
=
build
(
:ci_build
,
project:
@project
,
commit:
commit
,
...
...
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