display unconfirmed users in list

This commit is contained in:
Luna D 2020-08-18 00:19:49 +02:00 committed by byte[]
parent 235a77ac8b
commit a5c53894d6

View file

@ -49,12 +49,17 @@ h1 Users
= user.email
td
= if user.deleted_at do
= cond do
- user.deleted_at ->
strong> Deactivated
= pretty_time user.deleted_at
- else
- user.confirmed_at ->
' Active
- true ->
strong> Unconfirmed
td
= String.capitalize(user.role)