rosa-build/app/views/projects/issues/_issues_table.html.haml

22 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-03-18 19:27:15 +00:00
#description-top.issues-filter
.project-tabnav
%ul.tabnav-tabs
%li.list-browser-filter-tabs.open{:class => ('selected' if @status == :open)}
%a= "#{t('layout.issues.statuses.open')} (#{@opened_issues})"
%li.list-browser-filter-tabs.closed{:class => ('selected' if @status != :open)}
%a= "#{t('layout.issues.statuses.closed')} (#{@closed_issues})"
%li.list-browser-sorts.updated{:class => ("selected #{@direction}" if @sort == :updated)}
- if @sort == :updated
%i{:class => (@direction == :asc ? 'icon-chevron-up' : 'icon-chevron-down')}
%a= t('layout.issues.sort.updated')
%li.list-browser-sorts.created{:class => ("selected #{@direction}" if @sort == :created)}
- if @sort == :created
%i{:class => (@direction == :asc ? 'icon-chevron-up' : 'icon-chevron-down')}
%a= t('layout.issues.sort.submitted')
2013-03-18 19:27:15 +00:00
#table1.issues-table
2012-09-26 16:16:34 +01:00
%table#myTable.tablesorter.tracker{:cellpadding => "0", :cellspacing => "0"}
%tbody
= render :partial => 'projects/issues/issue', :collection => issues
= will_paginate issues