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