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,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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue