mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Add link to original file
This commit is contained in:
parent
72fd3b1a25
commit
98576a5fb5
@ -1176,6 +1176,14 @@ renderAttachmentView model pos attach =
|
||||
]
|
||||
, div [ class "right menu" ]
|
||||
[ a
|
||||
[ class "item"
|
||||
, title "Goto Original file"
|
||||
, href (fileUrl ++ "/original")
|
||||
, target "_new"
|
||||
]
|
||||
[ i [ class "external square alternate icon" ] []
|
||||
]
|
||||
, a
|
||||
[ classList
|
||||
[ ( "toggle item", True )
|
||||
, ( "active", isAttachMetaOpen model attach.id )
|
||||
@ -1188,7 +1196,7 @@ renderAttachmentView model pos attach =
|
||||
]
|
||||
, a
|
||||
[ class "item"
|
||||
, title "Download to disk"
|
||||
, title "Download PDF to disk"
|
||||
, download attachName
|
||||
, href fileUrl
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user