Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
fb0f1e263f56
Unverified
Commit
638f8541
authored
Feb 18, 2014
by
Dmitriy Zaporozhets
Browse files
Hide labels filter for MRs and remove unnecessary padding
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
36a504d76381
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/views/projects/issues/_issues.html.haml
View file @
fb0f1e26
...
...
@@ -2,7 +2,7 @@
.check-all-holder
=
check_box_tag
"check_all_issues"
,
nil
,
false
,
class:
"check_all_issues left"
.issues-filters
.dropdown.inline
.prepend-left-10
.dropdown.inline
%a
.dropdown-toggle.btn
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
}
%i
.icon-user
%span
.light
assignee:
...
...
app/views/projects/issues/index.html.haml
View file @
fb0f1e26
=
render
"head"
.row
.col-md-3
=
render
'shared/project_filter'
,
project_entities_path:
project_issues_path
(
@project
)
=
render
'shared/project_filter'
,
project_entities_path:
project_issues_path
(
@project
)
,
labels:
true
.col-md-9.issues-holder
=
render
"issues"
app/views/shared/_project_filter.html.haml
View file @
fb0f1e26
...
...
@@ -26,17 +26,18 @@
=
link_to
project_filter_path
(
state:
'all'
)
do
All
%fieldset
%legend
Labels
%ul
.list-group
-
issue_label_names
.
each
do
|
label_name
|
=
link_to
labels_filter_path
(
label_name
),
class:
label_filter_class
(
label_name
)
do
%span
{
class:
"label #{label_css_class(label_name)}"
}
%i
.icon-tag
=
label_name
-
if
selected_label?
(
label_name
)
.pull-right
%i
.icon-remove
-
if
defined?
(
labels
)
%fieldset
%legend
Labels
%ul
.list-group
-
issue_label_names
.
each
do
|
label_name
|
=
link_to
labels_filter_path
(
label_name
),
class:
label_filter_class
(
label_name
)
do
%span
{
class:
"label #{label_css_class(label_name)}"
}
%i
.icon-tag
=
label_name
-
if
selected_label?
(
label_name
)
.pull-right
%i
.icon-remove
%fieldset
-
if
%w(state scope milestone_id assignee_id label_name)
.
select
{
|
k
|
params
[
k
].
present?
}.
any?
...
...
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