Update views to use CommitDecorator

This commit is contained in:
Riyad Preukschas 2012-07-22 13:08:24 +02:00
parent ff40b7de7a
commit 34cea1cb63
11 changed files with 28 additions and 19 deletions

View file

@ -1,3 +1,3 @@
- if tm
%strong= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
= link_to truncate(content_commit.safe_message, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link"
= link_to truncate(content_commit.title, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link"