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 = user.email
td td
= if user.deleted_at do = cond do
- user.deleted_at ->
strong> Deactivated strong> Deactivated
= pretty_time user.deleted_at = pretty_time user.deleted_at
- else
- user.confirmed_at ->
' Active ' Active
- true ->
strong> Unconfirmed
td td
= String.capitalize(user.role) = String.capitalize(user.role)