<% conversation ||= subscription.conversation %>
<%= link_to [:account, current_user, :conversations, :subscriptions, conversation_id: subscription.conversation.id], class: "#{current_conversation ? 'bg-gray-100 border-l ' : 'bg-white'} h-28 p-1 flex border-b-2 cursor-pointer hover:no-underline hover:bg-gray-50 relative items-center" do %>
<%= current_membership.name %>

<%= "#{time_ago_in_words conversation.last_message.created_at} ago" unless conversation.last_message.nil? %>

<%= conversation.subject&.label_string %>

<%= conversation.last_message&.user&.label_string %>
<%= Nokogiri::HTML.fragment(conversation.last_message.body).text unless conversation.last_message.nil? %>
<% end %>