2011-12-08 21:17:53 +01:00
|
|
|
#feeds_content_holder
|
2011-12-08 20:17:53 +01:00
|
|
|
- @active_projects.first(3).each do |project|
|
|
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
2011-12-22 14:09:41 +01:00
|
|
|
= link_to project do
|
2012-01-27 23:51:02 +01:00
|
|
|
%h4= project.name
|
|
|
|
- project.updates(3).each do |update|
|
|
|
|
%a.project-update{:href => dashboard_feed_path(project, update)}
|
|
|
|
= image_tag gravatar_icon(update.author_email), :class => "avatar", :width => 32
|
|
|
|
%div
|
|
|
|
= dashboard_feed_title(update)
|
|
|
|
%span.update-author
|
|
|
|
%strong= update.author_name
|
|
|
|
authored
|
|
|
|
= time_ago_in_words(update.created_at)
|
|
|
|
ago
|
|
|
|
.right
|
|
|
|
- klass = update.class.to_s.split("::").last.downcase
|
|
|
|
%span.tag{ :class => klass }= klass
|
2011-12-08 20:17:53 +01:00
|
|
|
|