gitlabhq/app/views/merge_requests/_merge_request.html.haml

27 lines
926 B
Plaintext
Raw Normal View History

2012-06-21 07:29:53 +02:00
%li.wll{ :class => mr_css_classes(merge_request) }
2012-03-22 21:57:04 +01:00
.right
.left
- if merge_request.merged?
2012-07-05 08:35:23 +02:00
%span.btn.small.disabled.grouped
%strong
%i.icon-ok
= "MERGED"
2012-03-22 21:57:04 +01:00
- if merge_request.notes.any?
2012-07-05 08:35:23 +02:00
%span.btn.small.disabled.grouped
2012-06-26 20:20:05 +02:00
%i.icon-comment
= merge_request.notes.count
2012-07-05 08:35:23 +02:00
%span.btn.small.disabled.grouped
2012-03-22 21:57:04 +01:00
= merge_request.source_branch
→
= merge_request.target_branch
2012-01-29 11:04:09 +01:00
= image_tag gravatar_icon(merge_request.author_email), :class => "avatar"
2011-11-28 19:30:35 +01:00
%span.update-author
2012-02-18 13:12:48 +01:00
%strong= merge_request.author_name
2011-11-28 19:30:35 +01:00
authored
= time_ago_in_words(merge_request.created_at)
ago
- if merge_request.upvotes > 0
2012-06-21 07:29:53 +02:00
%span.badge.badge-success= "+#{merge_request.upvotes}"
2012-01-29 11:04:09 +01:00
= link_to project_merge_request_path(merge_request.project, merge_request) do
2012-03-22 21:57:04 +01:00
%p.row_title= truncate(merge_request.title, :length => 80)