Commit 8187119eb0991062c94b89f1d067251f1788c8cb

Authored by Artiom Lunev
1 parent fb72b3c6

add to merge requests in dashboard indication if closed or not fixes #187

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