mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Add a new column to distinguish local from external users
This commit is contained in:
@ -66,6 +66,7 @@ view2 texts model =
|
||||
[ th [ class "w-px whitespace-nowrap" ] []
|
||||
, th [ class "text-left" ] [ text texts.login ]
|
||||
, th [ class "text-center" ] [ text texts.state ]
|
||||
, th [ class "text-center" ] [ text texts.source ]
|
||||
, th [ class "hidden md:table-cell text-left" ] [ text texts.email ]
|
||||
, th [ class "hidden md:table-cell text-center" ] [ text texts.logins ]
|
||||
, th [ class "hidden sm:table-cell text-center" ] [ text texts.lastLogin ]
|
||||
@ -92,6 +93,9 @@ renderUserLine2 texts model user =
|
||||
, td [ class "text-center" ]
|
||||
[ text user.state
|
||||
]
|
||||
, td [ class "text-center" ]
|
||||
[ text user.source
|
||||
]
|
||||
, td [ class "hidden md:table-cell text-left" ]
|
||||
[ Maybe.withDefault "" user.email |> text
|
||||
]
|
||||
|
Reference in New Issue
Block a user