<%= t(".title") %> <%= link_to t(".granted_authorizations"), granted_authorizations_path, class: "button tiny button--title" %>

<% @pending_authorizations.each do |authorization| %> <% end %>
<%= t(".name") %> <%= t(".nickname") %>
<% if authorization.user.deleted? %> (<%= t(".deleted_user") %>) <% else %> <%= authorization.user.name %> <% end %> <% if authorization.user.deleted? %> (<%= t(".deleted_user") %>) <% else %> <%= authorization.user.nickname %> <% end %> <% unless authorization.user.deleted? %> <%= icon_link_to "person", decidim.profile_path(authorization.user.nickname), t("layouts.decidim.user_profile.account"), class:"action-icon--show", target: "_blank" %> <% end %> <%= icon_link_to "circle-check", pending_authorization_path(authorization.id), t(".approve_request"), method: :patch, class: "action-icon--verify" %> <%= icon_link_to "circle-x", pending_authorization_path(authorization.id), t(".reject_request"), method: :delete, class: "action-icon--reject" %>
<%= paginate @pending_authorizations, theme: "decidim" %>