From da537971d167cc147ba06ec6a8472f45b165b705 Mon Sep 17 00:00:00 2001 From: nilsding Date: Sun, 14 Dec 2014 15:48:19 +0100 Subject: [PATCH] added item --- app/views/notifications/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index 55b10037..590432eb 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -3,7 +3,7 @@ .col-md-9.col-xs-12.col-sm-9 %ul.list-group - @notifications.each do |notification| - %li.list-group-item + %li.list-group-item{class: (notification.new? ? 'list-group-item-warning' : '')} .media - case notification.target_type - when "Answer"