Commit 7d145adf authored by Robert Speicher's avatar Robert Speicher

Move 'closed' attribute to the row instead of the cell

parent ce6e5f34
$ -> $ ->
$('.milestone-issue-filter td[data-closed]').addClass('hide') $('.milestone-issue-filter tr[data-closed]').addClass('hide')
$('.milestone-issue-filter ul.nav li a').click -> $('.milestone-issue-filter ul.nav li a').click ->
$('.milestone-issue-filter li').toggleClass('active') $('.milestone-issue-filter li').toggleClass('active')
$('.milestone-issue-filter td[data-closed]').toggleClass('hide') $('.milestone-issue-filter tr[data-closed]').toggleClass('hide')
false false
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
%li.active= link_to('Open Issues', '#') %li.active= link_to('Open Issues', '#')
%li=link_to('All Issues', '#') %li=link_to('All Issues', '#')
- @issues.each do |issue| - @issues.each do |issue|
%tr %tr{data: {closed: issue.closed}}
%td{data: {closed: issue.closed}} %td
= link_to [@project, issue] do = link_to [@project, issue] do
%span.badge.badge-info ##{issue.id} %span.badge.badge-info ##{issue.id}
– –
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment