fixed commits links from tree view

This commit is contained in:
Dmitriy Zaporozhets 2011-12-05 22:20:46 +02:00
parent e06b39ccd2
commit 1bf775d55d

View file

@ -15,4 +15,4 @@
- tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name)
- if tm
= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
= link_to truncate(content_commit.safe_message, :length => tm ? 20 : 40), project_commit_path(@project, content_commit), :class => "tree-commit-link"
= link_to truncate(content_commit.safe_message, :length => tm ? 20 : 40), project_commit_path(@project, content_commit.id), :class => "tree-commit-link"