rosa-build/app/views/issues/index.html.haml

21 lines
845 B
Plaintext
Raw Normal View History

2012-02-15 18:53:58 +00:00
-render :partial => 'projects/submenu'
-render :partial => 'issues/index_sidebar'
2012-02-15 18:53:58 +00:00
#closed-switcher.blue-switcher
2012-02-23 14:48:31 +00:00
=hidden_field_tag :issues_status, @status, :id => 'issues_status'
.open
2012-02-28 14:05:18 +00:00
="#{t('layout.issues.statuses.open')} (#{@project.issues.where(:status => 'open').count})"
#closed-tasks.closed
2012-02-28 14:05:18 +00:00
="#{t('layout.issues.statuses.closed')} (#{@project.issues.where(:status => 'closed').count})"
#blue-switch-select.selected{:style => "margin-left: #{@status == 'open' ? '0' : '130'}px;"}
.both
.both
#table1
%table#myTable.tablesorter.tracker{:cellpadding => "0", :cellspacing => "0"}
%thead
%tr
2012-02-23 15:57:51 +00:00
%th.th1{:colspan => "2"}=t('layout.issues.number')
%th{:colspan => "2"}=t('layout.issues.description')
%tbody
= render :partial => 'issues/issue', :collection => @issues
= will_paginate @issues