From 52ec2cffba29ac5801db16cf7e405c0a70974151 Mon Sep 17 00:00:00 2001 From: nilsding Date: Sun, 30 Nov 2014 18:23:57 +0100 Subject: [PATCH] colours --- app/views/inbox/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/inbox/show.html.haml b/app/views/inbox/show.html.haml index ecd3a5a8..fada40c6 100644 --- a/app/views/inbox/show.html.haml +++ b/app/views/inbox/show.html.haml @@ -1,7 +1,7 @@ .container.j2-page = render 'layouts/messages' - @inbox.each do |i| - .panel.panel-default.inbox-box{'data-id' => i.id} + .panel.inbox-box{'data-id' => i.id, class: "panel-#{i.new? ? 'primary' : 'default'}" } .panel-heading .media - unless i.question.author_is_anonymous