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

18 lines
657 B
Plaintext
Raw Normal View History

2012-01-29 11:04:09 +01:00
%li.wll
= 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.notes.any?
%span.label= pluralize merge_request.notes.count, 'note'
- if merge_request.upvotes > 0
%span.label.success= "+#{merge_request.upvotes}"
2011-11-28 19:30:35 +01:00
.right
2012-01-29 11:04:09 +01:00
%span.label= merge_request.source_branch
2011-11-28 19:30:35 +01:00
→
2012-01-29 11:04:09 +01:00
%span.label= merge_request.target_branch
= link_to project_merge_request_path(merge_request.project, merge_request) do
2012-03-03 12:03:03 +01:00
%p.row_title= truncate(merge_request.title, :length => 100)