Commit ca4e2ad135061150bb47ec229bed52a25fa49f75

Authored by Dmitriy Zaporozhets
2 parents e213f949 8187119e

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

Merge requests in dashboard state indication
app/views/dashboard/_merge_requests_feed.html.haml
... ... @@ -5,6 +5,8 @@
5 5 %a.project-update{:href => project_merge_request_path(update.project, update)}
6 6 = image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
7 7 %span.update-title
  8 + - state = update.closed ? 'closed' : 'open'
  9 + %span.tag{ :class => state } #{state.capitalize}
8 10 = truncate update.title, :length => 70
9 11 .right= update.project.name
10 12 %span.update-author
... ...