2011-12-19 15:30:14 +00:00
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%th.first= t("activerecord.attributes.issue.title")
|
2011-12-27 13:18:25 +00:00
|
|
|
%th.first= t("activerecord.attributes.issue.user")
|
2011-12-19 15:30:14 +00:00
|
|
|
%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-27 13:18:25 +00:00
|
|
|
%td
|
2011-12-27 17:49:08 +00:00
|
|
|
= link_to issue.user.uname, user_path(issue.user) if issue.user
|
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
|