Commit 4cb17deec171151c0e1acd582861cafced43e89e

Authored by Dmitriy Zaporozhets
1 parent 6abd1f93

Fix empty sort label on issues page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
app/views/projects/issues/_issues.html.haml
@@ -81,7 +81,10 @@ @@ -81,7 +81,10 @@
81 .dropdown.inline.prepend-left-10 81 .dropdown.inline.prepend-left-10
82 %a.dropdown-toggle.btn.btn-small{href: '#', "data-toggle" => "dropdown"} 82 %a.dropdown-toggle.btn.btn-small{href: '#', "data-toggle" => "dropdown"}
83 %span.light sort: 83 %span.light sort:
84 - = @sort 84 + - if @sort.present?
  85 + = @sort
  86 + - else
  87 + Newest
85 %b.caret 88 %b.caret
86 %ul.dropdown-menu 89 %ul.dropdown-menu
87 %li 90 %li