mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Use externalized strings for edit label
This commit is contained in:
@ -63,15 +63,15 @@ view2 texts _ items =
|
||||
]
|
||||
]
|
||||
, tbody []
|
||||
(List.map viewItem2 items)
|
||||
(List.map (viewItem2 texts) items)
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
viewItem2 : ScanMailboxSettings -> Html Msg
|
||||
viewItem2 item =
|
||||
viewItem2 : Texts -> ScanMailboxSettings -> Html Msg
|
||||
viewItem2 texts item =
|
||||
tr [ class S.tableRow ]
|
||||
[ B.editLinkTableCell (EditSettings item)
|
||||
[ B.editLinkTableCell texts.basics.edit (EditSettings item)
|
||||
, td [ class "w-px px-2" ]
|
||||
[ Util.Html.checkbox2 item.enabled
|
||||
]
|
||||
|
Reference in New Issue
Block a user