diff --git a/app/views/inbox/show.html.haml b/app/views/inbox/show.html.haml index da0ddbec..3a55ae82 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