2012-01-28 15:47:55 +01:00
|
|
|
%li.wll
|
|
|
|
.row
|
|
|
|
.span9
|
|
|
|
= image_tag gravatar_icon(update.author_email), :class => "avatar thumb"
|
|
|
|
%p
|
|
|
|
%strong.author= update.author_name
|
|
|
|
%span
|
|
|
|
–
|
|
|
|
authored
|
|
|
|
= time_ago_in_words(update.created_at)
|
|
|
|
ago
|
|
|
|
- if update.kind_of? MergeRequest
|
|
|
|
= link_to project_merge_request_path(@project, update) do
|
|
|
|
= "Opened merge request ##{update.id}."
|
|
|
|
%span.label= update.source_branch
|
2012-01-04 21:19:41 +01:00
|
|
|
→
|
2012-01-28 15:47:55 +01:00
|
|
|
%span.label= update.target_branch
|
|
|
|
- elsif update.kind_of? Issue
|
|
|
|
= link_to project_issue_path(@project, update) do
|
|
|
|
Opened new
|
|
|
|
%span.label.important= "issue ##{update.id}"
|
|
|
|
= truncate update.title
|
|
|
|
- else
|
|
|
|
= link_to [@project, update.target] do
|
|
|
|
%p
|
|
|
|
= update.target.class.name.titleize
|
|
|
|
= truncate(update.target.id.to_s, :length => 10)
|
|
|
|
|
|
|
|
= dashboard_feed_title(update)
|