How an I make the code below only show "no new messages" once rather than multiple times when there are multiple tickets?
%tbody - @users_tickets.each do |t| - unless t.ticket_replies.empty? %tr %td= t.business.name %td= link_to "#{t.contact.title}"+"("+ "#{t.ticket_replies.count}"+")", inbox_path(t) %td = h distance_of_time_in_words_to_now(t.created_at,include_seconds = true) ago - else %b No new messages.