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

24 lines
827 B
Plaintext
Raw Normal View History

- @activities.each do |update|
2012-02-11 22:22:33 +01:00
.wll
= link_to dashboard_feed_path(@project, update) do
- if update.kind_of? Note
%p
%strong
- if update.target
= update.target.class.name.titleize
= truncate update.target.id.to_s, :length => 10
commented
- else
Project wall
2012-01-28 15:47:55 +01:00
–
= image_tag gravatar_icon(update.author_email), :class => "", :width => 16
= truncate dashboard_feed_title(update), :length => 50
2012-01-28 15:47:55 +01:00
- else
%p
%strong
= update.class.name.titleize
= truncate update.id.to_s
–
= image_tag gravatar_icon(update.author_email), :class => "", :width => 16
= truncate dashboard_feed_title(update), :length => 50