mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Make source a quick link on card and detail
This commit is contained in:
@ -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 )
|
||||
|
Reference in New Issue
Block a user