mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Make source a quick link on card and detail
This commit is contained in:
@ -38,7 +38,6 @@ import Html.Events exposing (onCheck, onClick, onInput)
|
||||
import Markdown
|
||||
import Page exposing (Page(..))
|
||||
import Set
|
||||
import Util.CustomField
|
||||
import Util.File exposing (makeFileId)
|
||||
import Util.Folder
|
||||
import Util.List
|
||||
@ -560,7 +559,8 @@ renderItemInfo settings model =
|
||||
[ class "item"
|
||||
, title "Source"
|
||||
]
|
||||
[ text model.item.source
|
||||
[ Icons.sourceIcon ""
|
||||
, Comp.LinkTarget.makeSourceLink [] SetLinkTarget model.item.source
|
||||
]
|
||||
, True
|
||||
)
|
||||
|
Reference in New Issue
Block a user