2012-12-17 22:14:05 -05:00
|
|
|
%li{ class: mr_css_classes(merge_request) }
|
2013-04-06 08:10:24 -04:00
|
|
|
.merge-request-title
|
2013-04-25 10:15:33 -04:00
|
|
|
= link_to_gfm truncate(merge_request.title, length: 80), project_merge_request_path(merge_request.target_project, merge_request), class: "row_title"
|
2013-04-06 08:10:24 -04:00
|
|
|
- if merge_request.merged?
|
|
|
|
%small.pull-right
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-check
|
2014-08-26 11:58:05 -04:00
|
|
|
MERGED
|
2013-04-06 08:10:24 -04:00
|
|
|
- else
|
2014-12-02 04:31:57 -05:00
|
|
|
%span.pull-right.hidden-xs
|
2013-07-16 17:14:03 -04:00
|
|
|
- if merge_request.for_fork?
|
2013-08-08 10:29:31 -04:00
|
|
|
%span.light
|
2014-02-15 07:36:58 -05:00
|
|
|
#{merge_request.source_project_namespace}:
|
2014-05-07 07:43:07 -04:00
|
|
|
= truncate merge_request.source_branch, length: 25
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-angle-right.light
|
2014-05-07 07:43:07 -04:00
|
|
|
= merge_request.target_branch
|
2013-04-06 08:10:24 -04:00
|
|
|
.merge-request-info
|
2014-12-03 10:29:52 -05:00
|
|
|
%span.light= "##{merge_request.iid}"
|
2013-04-06 08:10:24 -04:00
|
|
|
- if merge_request.author
|
2013-04-25 10:15:33 -04:00
|
|
|
authored by #{link_to_member(merge_request.source_project, merge_request.author)}
|
2012-09-08 10:44:56 -04:00
|
|
|
- if merge_request.votes_count > 0
|
2012-09-10 09:27:14 -04:00
|
|
|
= render 'votes/votes_inline', votable: merge_request
|
2013-04-06 08:10:24 -04:00
|
|
|
- if merge_request.notes.any?
|
|
|
|
%span
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-comments
|
2013-04-06 08:10:24 -04:00
|
|
|
= merge_request.mr_and_commit_notes.count
|
|
|
|
- if merge_request.milestone_id?
|
|
|
|
%span
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-clock-o
|
2013-04-06 08:10:24 -04:00
|
|
|
= merge_request.milestone.title
|
2014-10-05 01:53:44 -04:00
|
|
|
- if merge_request.tasks?
|
|
|
|
%span.task-status
|
|
|
|
= merge_request.task_status
|
2013-04-06 08:10:24 -04:00
|
|
|
|
2014-12-02 04:31:57 -05:00
|
|
|
.pull-right.hidden-xs
|
2013-12-30 07:49:22 -05:00
|
|
|
%small updated #{time_ago_with_tooltip(merge_request.updated_at, 'bottom', 'merge_request_updated_ago')}
|
2014-04-14 21:12:07 -04:00
|
|
|
|
|
|
|
.merge-request-labels
|
|
|
|
- merge_request.labels.each do |label|
|
2014-09-11 07:18:00 -04:00
|
|
|
= link_to project_merge_requests_path(merge_request.project, label_name: label.name) do
|
|
|
|
= render_colored_label(label)
|