mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +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
|
||||
]
|
||||
|
@ -20,6 +20,7 @@ type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, login : String
|
||||
, state : String
|
||||
, source : String
|
||||
, email : String
|
||||
, logins : String
|
||||
, lastLogin : String
|
||||
@ -32,6 +33,7 @@ gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, login = "Login"
|
||||
, state = "State"
|
||||
, source = "Type"
|
||||
, email = "E-Mail"
|
||||
, logins = "Logins"
|
||||
, lastLogin = "Last Login"
|
||||
@ -44,6 +46,7 @@ de =
|
||||
{ basics = Messages.Basics.de
|
||||
, login = "Benutzername"
|
||||
, state = "Status"
|
||||
, source = "Typ"
|
||||
, email = "E-Mail"
|
||||
, logins = "Anmeldungen"
|
||||
, lastLogin = "Letzte Anmeldung"
|
||||
|
Reference in New Issue
Block a user