<%= crayons_icon_tag("twemoji/suspicious", native: true, width: 24, height: 24) %>

<%= vomit_reaction.user.name %>

<%# Note: There are discrepancies in status naming between the frontend (FE) and backend (BE). %> <%# In the FE, 'Open/Unresolved' corresponds to 'valid' in the BE. This status appears when a trusted user flags an article, with a score of -50. %> <%# In the FE, 'Valid' corresponds to 'confirmed' in the BE. This status appears when an admin user flags an article or marks a trusted user-flagged article as valid, with a score of -100. %> <%# In both the FE and BE, 'Invalid' remains the same. This status appears when an admin user marks a flag or vomit reaction as invalid, with a score of 0. %>
<% if vomit_reaction.status == 'valid' %> "> <%= t("views.admin.shared.flags.open.value") %> <% elsif vomit_reaction.status == 'invalid' %> "> <%= t("views.admin.shared.flags.invalid.value") %> <% elsif vomit_reaction.status == 'confirmed' %> "> <%= t("views.admin.shared.flags.valid.value") %> <% else %> <%# This case should never arise. %> "> <%= t("views.admin.shared.flags.unidentified.value") %> <% end %> "> <%= crayons_icon_tag("analytics", native: true, width: 16, height: 16) %> <%= vomit_reaction.points %>
<%= render "admin/shared/flag_reaction_item_dropdown_menu", vomit_reaction: vomit_reaction %>