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,11 +49,16 @@ h1 Users
= user.email
td
= if user.deleted_at do
strong> Deactivated
= pretty_time user.deleted_at
- else
' Active
= cond do
- user.deleted_at ->
strong> Deactivated
= pretty_time user.deleted_at
- user.confirmed_at ->
' Active
- true ->
strong> Unconfirmed
td
= String.capitalize(user.role)