22 lines
792 B
Plaintext
22 lines
792 B
Plaintext
%li.wll{ :class => mr_css_classes(merge_request) }
|
|
.list_legend
|
|
.icon
|
|
.right
|
|
.left
|
|
- if merge_request.notes.any?
|
|
%span.btn.small.disabled.padded= pluralize merge_request.notes.count, 'note'
|
|
%span.btn.small.disabled.padded
|
|
= merge_request.source_branch
|
|
→
|
|
= merge_request.target_branch
|
|
= image_tag gravatar_icon(merge_request.author_email), :class => "avatar"
|
|
%span.update-author
|
|
%strong= merge_request.author_name
|
|
authored
|
|
= time_ago_in_words(merge_request.created_at)
|
|
ago
|
|
- if merge_request.upvotes > 0
|
|
%span.badge.badge-success= "+#{merge_request.upvotes}"
|
|
= link_to project_merge_request_path(merge_request.project, merge_request) do
|
|
%p.row_title= truncate(merge_request.title, :length => 80)
|