Make source a quick link on card and detail

This commit is contained in:
Eike Kettner
2021-01-11 21:37:36 +01:00
parent 63535408c9
commit 38ae7a9027
5 changed files with 25 additions and 9 deletions

View File

@ -263,13 +263,11 @@ metaDataContent settings item =
]
]
, div [ class "right floated meta" ]
[ div [ class "ui horizontal list" ]
[ div
[ class "item"
, title "Source"
]
[ IT.render IT.source item |> text
]
[ div [ class "ui horizontal link list" ]
[ Comp.LinkTarget.makeSourceLink
[ ( "item", True ) ]
SetLinkTarget
(IT.render IT.source item)
, div
[ classList
[ ( "item", True )