Issue #185 – Show branch name for commits on activities & dashboard pages

This commit is contained in:
Dmitriy Zaporozhets 2011-11-12 15:18:56 +02:00
parent c1c64d985e
commit 4dd5d9c8cc
8 changed files with 25 additions and 7 deletions

View file

@ -27,6 +27,8 @@
%a.project-update{:href => dashboard_feed_path(project, update)}
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
%span.update-title
- if update.kind_of?(Grit::Commit)
%span.tag.commit= update.head.name
= dashboard_feed_title(update)
%span.update-author
%strong= update.author_name