Merge pull request #1717 from riyad/add-author-to-tree-listing

Update author info in tree listing
This commit is contained in:
Dmitriy Zaporozhets 2012-10-21 04:08:45 -07:00
commit cd9f135a66
6 changed files with 48 additions and 16 deletions

View file

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

View file

@ -0,0 +1,2 @@
%span.tree_author= commit.author_link avatar: true
= link_to_gfm truncate(commit.title, length: 80), project_commit_path(@project, commit.id), class: "tree-commit-link"