From 8187119eb0991062c94b89f1d067251f1788c8cb Mon Sep 17 00:00:00 2001 From: Artiom Lunev Date: Tue, 13 Dec 2011 23:40:29 +0200 Subject: [PATCH] add to merge requests in dashboard indication if closed or not fixes #187 --- app/views/dashboard/_merge_requests_feed.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/dashboard/_merge_requests_feed.html.haml b/app/views/dashboard/_merge_requests_feed.html.haml index 53272c92..5448a7aa 100644 --- a/app/views/dashboard/_merge_requests_feed.html.haml +++ b/app/views/dashboard/_merge_requests_feed.html.haml @@ -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