diff options
author | Yorhel <git@yorhel.nl> | 2022-07-29 21:12:35 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-07-29 21:12:35 +0200 |
commit | ba4f0b483ef83a2e3c41c506f8f94d5e06dc0baf (patch) | |
tree | 55286c5af230e15f69ceb0497dd93d2f45ada7c1 /elm | |
parent | 61e254baa61bae0c77eebc696afc4a3a90bbd224 (diff) |
Display staff original name and primary language flag in autocomplete
Diffstat (limited to 'elm')
-rw-r--r-- | elm/Lib/Autocomplete.elm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elm/Lib/Autocomplete.elm b/elm/Lib/Autocomplete.elm index eaa80ff0..60275c14 100644 --- a/elm/Lib/Autocomplete.elm +++ b/elm/Lib/Autocomplete.elm @@ -165,8 +165,11 @@ staffSource = GApi.StaffResult e -> Just e _ -> Nothing , view = \i -> - [ b [ class "grayedout" ] [ text <| i.id ++ ": " ] - , text i.name ] + [ langIcon i.lang + , b [ class "grayedout" ] [ text <| i.id ++ ": " ] + , text i.name + , b [ class "grayedout" ] [ text " ", text i.original ] + ] , key = \i -> String.fromInt i.aid } |