<%= t(user.active_role, scope: "decidim.admin.models.user.fields.roles") %> |
<%= user.name %> |
<%= user.email %> |
<% if user.invitation_sent_at %>
<%= l user.invitation_sent_at, format: :short %>
<% end %>
|
<% if user.invitation_accepted_at %>
<%= l user.invitation_accepted_at, format: :short %>
<% end %>
|
<% if user.last_sign_in_at %>
<%= l user.last_sign_in_at, format: :short %>
<% end %>
|
<%= l user.created_at, format: :short %> |
<% if can?(:invite, user) && user.invited_to_sign_up? %>
<%= icon_link_to "reload", ['resend_invitation', user], t("actions.resend_invitation", scope: "decidim.admin"), class: "resend-invitation", method: :post %>
<% end %>
<% if can? :destroy, user %>
<%= icon_link_to "circle-x", user, t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
<% end %>
|
<% end %>