gitlabhq/app/views/events/_event_merge_request.html.haml
2012-09-24 12:32:51 +03:00

17 lines
574 B
Plaintext

- if event.action_name == "merged"
.event_icon= image_tag "event_mr_merged.png"
= image_tag gravatar_icon(event.author_email), class: "avatar"
.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