2012-03-07 21:34:49 +00:00
|
|
|
%tr{:id => "Row#{project_counter}"}
|
|
|
|
%td
|
|
|
|
= link_to project do
|
|
|
|
.table-sort-left= image_tag visibility_icon(project.visibility)
|
|
|
|
.table-sort-right #{project.owner.uname} / #{project.name}
|
|
|
|
%td.td2= project.description
|
2012-03-23 20:37:17 +00:00
|
|
|
%td= t("layout.collaborators.role_names.#{project.relations.by_user_through_groups(current_user).first.role}")
|
|
|
|
%td.td5= link_to image_tag('x.png'), remove_user_project_path(project), :method => :delete, :confirm => t("layout.confirm") unless project.owner == current_user
|