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
3b7998e1
Commit
3b7998e1
authored
Apr 17, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Milestone filter for issues improved
parent
ac7bb206
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
app/views/issues/index.html.haml
app/views/issues/index.html.haml
+5
-4
No files found.
app/views/issues/index.html.haml
View file @
3b7998e1
...
@@ -23,21 +23,22 @@
...
@@ -23,21 +23,22 @@
.span6
.span6
%ul
.nav.nav-pills.left
%ul
.nav.nav-pills.left
%li
{
:class
=>
(
"active"
if
(
params
[
:f
]
==
"0"
||
!
params
[
:f
]))}
%li
{
:class
=>
(
"active"
if
(
params
[
:f
]
==
"0"
||
!
params
[
:f
]))}
=
link_to
project_issues_path
(
@project
,
:f
=>
0
)
do
=
link_to
project_issues_path
(
@project
,
:f
=>
0
,
:milestone_id
=>
params
[
:milestone_id
]
)
do
Open
Open
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"2"
)}
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"2"
)}
=
link_to
project_issues_path
(
@project
,
:f
=>
2
)
do
=
link_to
project_issues_path
(
@project
,
:f
=>
2
,
:milestone_id
=>
params
[
:milestone_id
]
)
do
Closed
Closed
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"3"
)}
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"3"
)}
=
link_to
project_issues_path
(
@project
,
:f
=>
3
)
do
=
link_to
project_issues_path
(
@project
,
:f
=>
3
,
:milestone_id
=>
params
[
:milestone_id
]
)
do
To Me
To Me
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"1"
)}
%li
{
:class
=>
(
"active"
if
params
[
:f
]
==
"1"
)}
=
link_to
project_issues_path
(
@project
,
:f
=>
1
)
do
=
link_to
project_issues_path
(
@project
,
:f
=>
1
,
:milestone_id
=>
params
[
:milestone_id
]
)
do
All
All
.span4.right
.span4.right
=
form_tag
project_issues_path
(
@project
),
:method
=>
:get
,
:class
=>
:right
do
=
form_tag
project_issues_path
(
@project
),
:method
=>
:get
,
:class
=>
:right
do
=
select_tag
(
:milestone_id
,
options_from_collection_for_select
(
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
:prompt
=>
"Select milestone"
)
=
select_tag
(
:milestone_id
,
options_from_collection_for_select
(
@project
.
milestones
.
order
(
"id desc"
).
all
,
"id"
,
"title"
,
params
[
:milestone_id
]),
:prompt
=>
"Select milestone"
)
=
hidden_field_tag
:f
,
params
[
:f
]
%ul
#issues-table
.unstyled
%ul
#issues-table
.unstyled
=
render
"issues"
=
render
"issues"
...
...
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