22 lines
783 B
Plaintext
22 lines
783 B
Plaintext
= render "project_head"
|
|
- @activities.each do |update|
|
|
.alert-message.entry
|
|
= link_to dashboard_feed_path(@project, update) do
|
|
- if update.kind_of? Note
|
|
%p
|
|
%strong
|
|
= update.target.class.name.titleize
|
|
= truncate update.target.id.to_s, :length => 10
|
|
commented
|
|
–
|
|
= image_tag gravatar_icon(update.author_email), :class => "", :width => 16
|
|
= truncate dashboard_feed_title(update), :length => 50
|
|
- 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
|