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

16 lines
615 B
Plaintext
Raw Normal View History

%table.table
%tr
%th.first= t("activerecord.attributes.issue.title")
%th.first= t("activerecord.attributes.issue.status")
%th.last  
- @project.issues.each do |issue|
%tr{:class => cycle("odd", "even")}
%td
= link_to issue.title, show_issue_path(@project, issue.serial_id)
%td
= issue.status
%td.last
= link_to t("layout.show"), show_issue_path(@project, issue.serial_id)
|
= link_to t("layout.delete"), project_issue_path(@project, issue), :method => :delete, :confirm => t("layout.issues.confirm_delete") if can? :destroy, issue