<%= t "decidim.admin.titles.participants" %>

<%= admin_filter_selector %>
<% @users.each do |user| %> <% if user.nickname.present? %> <% else %> <% end %> <% end %>
<%= t(".name") %> <%= t(".nickname") %> <%= t(".created_at") %> <%= t(".status") %> <%= t(".badge") %> <%= t(".actions") %>
<%= link_to user.name, decidim.profile_path(user.nickname) %> <%= link_to user.nickname, decidim.profile_path(user.nickname) %><%= user.name %> <%= user.nickname %><%= l user.created_at, format: :short %> <%= user.officialized? ? t(".officialized") : t(".not_officialized") %> <%= translated_attribute(user.officialized_as) %> <% if allowed_to? :show_email, :user, user: user %> <%= icon_link_to "envelope-open", show_email_officialization_path(user_id: user.id), t(".show_email"), class: "action-icon action-icon--show-email", data: { full_name: user.name, toggle: "show-email-modal" } %> <% end %> <%= icon_link_to "envelope-closed", current_or_new_conversation_path_with(user), t("decidim.contact"), class:"action-icon--new" %> <% if user.officialized? %> <%= icon "circle-check", class: "action-icon action-icon--disabled", role: "img" %> <%= icon_link_to "pencil", new_officialization_path(user_id: user.id), t(".reofficialize"), class: "action-icon--new" %> <%= icon_link_to "circle-x", officialization_path(user.id), t(".unofficialize"), method: :delete, class: "action-icon--reject" %> <% else %> <%= icon_link_to "circle-check", new_officialization_path(user_id: user.id), t(".officialize"), class: "action-icon--verify" %> <%= icon "pencil", class: "action-icon action-icon--disabled", role: "img" %> <%= icon "circle-x", class: "action-icon action-icon--disabled", role: "img" %> <% end %>
<%= paginate @users, theme: "decidim" %>
<%= render "show_email_modal" %>