fixed commits links from tree view
This commit is contained in:
parent
e06b39ccd2
commit
1bf775d55d
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue