gitlab-org--gitlab-foss/app/views/events/_event_merge_request.html.haml

19 lines
563 B
Text
Raw Normal View History

2012-05-19 05:25:16 -04:00
- if event.action_name == "merged"
.event_icon= image_tag "event_mr_merged.png"
= image_tag gravatar_icon(event.author_email), :class => "avatar"
%strong #{event.author_name}
%span.event_label= 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
%span.cgray
= time_ago_in_words(event.created_at)
ago.
2012-03-20 17:59:35 -04:00
%br
%span= event.merge_request.source_branch
→
%span= event.merge_request.target_branch