gitlabhq/app/views/projects/_feed.html.haml

16 lines
508 B
Plaintext
Raw Normal View History

2011-11-12 15:19:34 +01:00
%a.project-update{:href => dashboard_feed_path(project, update)}
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
%span.update-title
= dashboard_feed_title(update)
%span.update-author
%strong= update.author_name
authored
2011-11-15 09:34:30 +01:00
= time_ago_in_words(update.created_at)
2011-11-12 15:19:34 +01:00
ago
.right
- klass = update.class.to_s.split("::").last.downcase
%span.tag{ :class => klass }= klass
2011-11-15 09:34:30 +01:00
- if update.kind_of?(Grit::Commit)
2011-11-12 15:19:34 +01:00
%span.tag.commit= update.head.name