30 lines
982 B
Plaintext
30 lines
982 B
Plaintext
%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
|
|
→
|
|
%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)
|