Commit ca4e2ad135061150bb47ec229bed52a25fa49f75
Exists in
master
and in
4 other branches
Merge pull request #197 from artiom/187-dashboard-merge-request-indication
Merge requests in dashboard state indication
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
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 | ... | ... |