Fixed errors in projects representation.

This commit is contained in:
George Vinogradov 2011-12-07 03:44:21 +04:00
parent c6e5ace271
commit 97579f8534
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)