2011-12-30 21:56:13 +01:00
|
|
|
- content_for(:body_class, "project-page dashboard")
|
|
|
|
= render "head"
|
|
|
|
|
|
|
|
#news-feed.news-feed
|
|
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
|
|
|
- @activities.each do |update|
|
2012-01-04 07:17:41 +01:00
|
|
|
%a.project-update.titled{:href => project_commits_path(@project, :ref => update.head.name)}
|
|
|
|
= 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
|
|
|
|
= time_ago_in_words(update.created_at)
|
|
|
|
ago
|
2012-01-04 21:19:41 +01:00
|
|
|
.title-block
|
2012-01-04 07:17:41 +01:00
|
|
|
%span.update-title
|
|
|
|
%span.commit.tag= update.head.name
|
|
|
|
%span.update-author
|
2012-01-04 21:19:41 +01:00
|
|
|
.left= truncate update.commit.id
|
2012-01-04 07:17:41 +01:00
|
|
|
|