Merge pull request #197 from artiom/187-dashboard-merge-request-indication

Merge requests in dashboard state indication
This commit is contained in:
Dmitriy Zaporozhets 2011-12-14 10:53:50 -08:00
commit ca4e2ad135

View file

@ -5,6 +5,8 @@
%a.project-update{:href => project_merge_request_path(update.project, update)}
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
%span.update-title
- state = update.closed ? 'closed' : 'open'
%span.tag{ :class => state } #{state.capitalize}
= truncate update.title, :length => 70
.right= update.project.name
%span.update-author