2012-02-08 00:00:49 +01:00
|
|
|
- @activities.each do |update|
|
2012-02-11 22:22:33 +01:00
|
|
|
.wll
|
2012-02-08 00:00:49 +01:00
|
|
|
= 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
|
|
|
–
|
2012-02-08 00:00:49 +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
|
2012-02-08 00:00:49 +01:00
|
|
|
%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
|