Fixed errors in projects representation.
This commit is contained in:
parent
c6e5ace271
commit
97579f8534
|
@ -5,7 +5,7 @@
|
|||
%th.last
|
||||
- @projects.each do |project|
|
||||
%tr{:class => cycle("odd", "even")}
|
||||
%td= link_to "#{project.name} (#{project.name})", project
|
||||
%td= link_to "#{project.name}", project
|
||||
%td= link_to "#{project.owner.name} (#{project.owner.uname})", project.owner
|
||||
%td
|
||||
= link_to t("layout.edit"), edit_project_path(project) if can? :update, project
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
%ul
|
||||
- @part_projects.each do |project|
|
||||
%li
|
||||
= link_to project.owner.uname + '/' + project.name + ' (' + project.name + ')', project_path(project)
|
||||
= link_to project.owner.uname + '/' + project.name, project_path(project)
|
||||
|
|
Loading…
Reference in New Issue