2012-06-29 20:55:22 +02:00
|
|
|
.main_box
|
|
|
|
.top_box_content
|
|
|
|
%h4
|
|
|
|
- if @merge_request.closed
|
|
|
|
.alert-message.error.status_info Closed
|
|
|
|
- else
|
|
|
|
.alert-message.success.status_info Open
|
2012-09-20 02:21:12 +02:00
|
|
|
= gfm escape_once(@merge_request.title)
|
2012-06-29 20:55:22 +02:00
|
|
|
|
|
|
|
.middle_box_content
|
|
|
|
%div
|
|
|
|
%cite.cgray Created at #{@merge_request.created_at.stamp("Aug 21, 2011")} by
|
2012-08-11 00:07:50 +02:00
|
|
|
= image_tag gravatar_icon(@merge_request.author_email), width: 16, class: "lil_av"
|
2012-06-29 20:55:22 +02:00
|
|
|
%strong.author= link_to_merge_request_author(@merge_request)
|
|
|
|
|
2012-07-17 07:19:16 +02:00
|
|
|
- if @merge_request.assignee
|
|
|
|
%cite.cgray and currently assigned to
|
2012-08-11 00:07:50 +02:00
|
|
|
= image_tag gravatar_icon(@merge_request.assignee_email), width: 16, class: "lil_av"
|
2012-07-17 07:19:16 +02:00
|
|
|
%strong.author= link_to_merge_request_assignee(@merge_request)
|
2012-06-29 20:55:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
- if @merge_request.closed
|
|
|
|
.bottom_box_content
|
|
|
|
- if @merge_request.merged?
|
|
|
|
%span
|
|
|
|
Merged by #{@merge_request.merge_event.author_name}
|
|
|
|
%small #{time_ago_in_words(@merge_request.merge_event.created_at)} ago.
|
|
|
|
- elsif @merge_request.closed_event
|
|
|
|
%span
|
|
|
|
Closed by #{@merge_request.closed_event.author_name}
|
|
|
|
%small #{time_ago_in_words(@merge_request.closed_event.created_at)} ago.
|
|
|
|
|