diff options
author | Mehmet Beydogan <mehmet.beydogan@gmail.com> | 2016-03-10 16:26:56 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-20 15:42:09 -0400 |
commit | 3afd08170da6f003b4f11ae1a3f737b14dedec40 (patch) | |
tree | 0e858cd1c275f7862743022e4c2b24bfef3b2148 /app/views/shared/_sort_dropdown.html.haml | |
parent | 1e596fef1c42a1dd925636c48fea01be444dc3ab (diff) | |
download | gitlab-ce-3afd08170da6f003b4f11ae1a3f737b14dedec40.tar.gz |
Add due_date:time field to Issue model
Add due_date text field to sidebar issue#show
Add ability sorting issues by due date ASC and DESC
Add ability to filtering issues by No Due Date, Any Due Date, Due to tomorrow, Due in this week options
Add handling issue due_date field for MergeRequest
Update CHANGELOG
Fix ambigous match for issues#show sidebar
Fix SCREAMING_SNAKE_CASE offenses for due date contants
Add specs for due date sorting and filtering on issues
Diffstat (limited to 'app/views/shared/_sort_dropdown.html.haml')
-rw-r--r-- | app/views/shared/_sort_dropdown.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/_sort_dropdown.html.haml b/app/views/shared/_sort_dropdown.html.haml index e3a6a5a68b6..80971309da7 100644 --- a/app/views/shared/_sort_dropdown.html.haml +++ b/app/views/shared/_sort_dropdown.html.haml @@ -20,6 +20,10 @@ = sort_title_milestone_soon = link_to page_filter_path(sort: sort_value_milestone_later) do = sort_title_milestone_later + = link_to page_filter_path(sort: sort_value_due_date_soon) do + = sort_title_due_date_soon if controller_name == "issues" + = link_to page_filter_path(sort: sort_value_due_date_later) do + = sort_title_due_date_later if controller_name == "issues" = link_to page_filter_path(sort: sort_value_upvotes) do = sort_title_upvotes = link_to page_filter_path(sort: sort_value_downvotes) do |