add to merge requests in dashboard indication if closed or not fixes #187
This commit is contained in:
parent
fb72b3c68e
commit
8187119eb0
|
@ -5,6 +5,8 @@
|
||||||
%a.project-update{:href => project_merge_request_path(update.project, update)}
|
%a.project-update{:href => project_merge_request_path(update.project, update)}
|
||||||
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
|
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
|
||||||
%span.update-title
|
%span.update-title
|
||||||
|
- state = update.closed ? 'closed' : 'open'
|
||||||
|
%span.tag{ :class => state } #{state.capitalize}
|
||||||
= truncate update.title, :length => 70
|
= truncate update.title, :length => 70
|
||||||
.right= update.project.name
|
.right= update.project.name
|
||||||
%span.update-author
|
%span.update-author
|
||||||
|
|
Loading…
Reference in a new issue