diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-04 12:13:56 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-10-10 20:43:59 +0400 |
commit | ace816354fb098118539640b5d9af392da349396 (patch) | |
tree | 4b31fc40d300f7a3a28ca59ad917e8bc19d0df83 /app/views | |
parent | 2b7fd29b1abb3ab6ca5ece7fe2b093f6672796d6 (diff) |
Add toggle to show closed issues on Milestones#show
Progress on #1167
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/milestones/show.html.haml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/milestones/show.html.haml b/app/views/milestones/show.html.haml index d3b1c092192..e2555610b52 100644 --- a/app/views/milestones/show.html.haml +++ b/app/views/milestones/show.html.haml @@ -45,18 +45,20 @@ .row .span6 - %table + %table.milestone-issue-filter %thead - %th Open Issues + %th + %ul.nav.nav-pills + %li.active.open= link_to('Open Issues', '#') + %li.all=link_to('All Issues', '#') - @issues.each do |issue| %tr - %td + %td{data: {closed: issue.closed}} = link_to [@project, issue] do %span.badge.badge-info ##{issue.id} – = link_to_gfm truncate(issue.title, length: 60), [@project, issue] %br - = paginate @issues, theme: "gitlab" .span6 %table |