2011-12-19 15:30:14 +00:00
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%th.first= t("activerecord.attributes.issue.title")
|
|
|
|
%th.first= t("activerecord.attributes.issue.status")
|
|
|
|
%th.last
|
2011-12-23 14:34:32 +00:00
|
|
|
- @issues.each do |issue|
|
2011-12-19 15:30:14 +00:00
|
|
|
%tr{:class => cycle("odd", "even")}
|
|
|
|
%td
|
2011-12-20 16:57:34 +00:00
|
|
|
= link_to issue.title, show_issue_path(@project, issue.serial_id)
|
2011-12-19 15:30:14 +00:00
|
|
|
%td
|
|
|
|
= issue.status
|
|
|
|
%td.last
|
2011-12-20 16:57:34 +00:00
|
|
|
= link_to t("layout.show"), show_issue_path(@project, issue.serial_id)
|
2011-12-19 15:30:14 +00:00
|
|
|
|
|
|
|
|
= link_to t("layout.delete"), project_issue_path(@project, issue), :method => :delete, :confirm => t("layout.issues.confirm_delete") if can? :destroy, issue
|