Move 'closed' attribute to the row instead of the cell
This commit is contained in:
parent
ce6e5f34d5
commit
7d145adf35
|
@ -1,7 +1,7 @@
|
|||
$ ->
|
||||
$('.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 li').toggleClass('active')
|
||||
$('.milestone-issue-filter td[data-closed]').toggleClass('hide')
|
||||
$('.milestone-issue-filter tr[data-closed]').toggleClass('hide')
|
||||
false
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
%li.active= link_to('Open Issues', '#')
|
||||
%li=link_to('All Issues', '#')
|
||||
- @issues.each do |issue|
|
||||
%tr
|
||||
%td{data: {closed: issue.closed}}
|
||||
%tr{data: {closed: issue.closed}}
|
||||
%td
|
||||
= link_to [@project, issue] do
|
||||
%span.badge.badge-info ##{issue.id}
|
||||
–
|
||||
|
|
Loading…
Reference in a new issue