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-28 02:57:42 +00:00
|
|
|
= link_to issue.title, [@project, issue]
|
2011-12-19 15:30:14 +00:00
|
|
|
%td
|
|
|
|
= issue.status
|
|
|
|
%td.last
|
2011-12-28 02:57:42 +00:00
|
|
|
= link_to t("layout.show"), [@project, issue]
|
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
|