mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Externalize strings in usersettings page
This commit is contained in:
@ -11,6 +11,7 @@ import Api.Model.EmailSettings exposing (EmailSettings)
|
||||
import Comp.Basic as B
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Messages.EmailSettingsTableComp exposing (Texts)
|
||||
import Styles as S
|
||||
|
||||
|
||||
@ -47,15 +48,15 @@ update msg model =
|
||||
--- View2
|
||||
|
||||
|
||||
view2 : Model -> Html Msg
|
||||
view2 model =
|
||||
view2 : Texts -> Model -> Html Msg
|
||||
view2 texts model =
|
||||
table [ class S.tableMain ]
|
||||
[ thead []
|
||||
[ tr []
|
||||
[ th [ class "" ] []
|
||||
, th [ class "text-left mr-2" ] [ text "Name" ]
|
||||
, th [ class "text-left mr-2" ] [ text "Host/Port" ]
|
||||
, th [ class "text-left mr-2 hidden sm:table-cell" ] [ text "From" ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.name ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.hostPort ]
|
||||
, th [ class "text-left mr-2 hidden sm:table-cell" ] [ text texts.from ]
|
||||
]
|
||||
]
|
||||
, tbody []
|
||||
|
Reference in New Issue
Block a user