2012-05-19 11:25:16 +02:00
|
|
|
- if event.action_name == "merged"
|
|
|
|
.event_icon= image_tag "event_mr_merged.png"
|
2012-08-11 00:07:50 +02:00
|
|
|
= image_tag gravatar_icon(event.author_email), class: "avatar"
|
2012-09-24 11:32:51 +02:00
|
|
|
.event-title
|
|
|
|
%strong.author_name #{event.author_name}
|
|
|
|
%span.event_label{class: event.action_name}= event.action_name
|
|
|
|
merge request
|
|
|
|
= link_to project_merge_request_path(event.project, event.merge_request) do
|
|
|
|
%strong= truncate event.merge_request_title
|
|
|
|
at
|
|
|
|
%strong= link_to event.project.name, event.project
|
|
|
|
.event-body
|
|
|
|
%span= event.merge_request.source_branch
|
|
|
|
→
|
|
|
|
%span= event.merge_request.target_branch
|
2012-03-01 21:43:04 +01:00
|
|
|
|