mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
display unconfirmed users in list
This commit is contained in:
parent
235a77ac8b
commit
a5c53894d6
1 changed files with 10 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue