14 lines
577 B
Plaintext
14 lines
577 B
Plaintext
%table.table
|
|
%tr
|
|
%th= t("activerecord.attributes.project.name")
|
|
%th= t("activerecord.attributes.project.owner")
|
|
%th.last
|
|
- @projects.each do |project|
|
|
%tr{:class => cycle("odd", "even")}
|
|
%td= link_to "#{project.name} (#{project.unixname})", project
|
|
%td= link_to "#{project.owner.name} (#{project.owner.uname})", project.owner
|
|
%td
|
|
= link_to t("layout.edit"), edit_project_path(project)
|
|
|
|
|
= link_to t("layout.delete"), project_path(project), :method => :delete, :confirm => t("layout.projects.confirm_delete")
|