mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Using the new preview route to show the attachment in webui
This commit is contained in:
parent
8908ad2561
commit
533396d386
@ -32,8 +32,6 @@ considering docspell at the moment. Hopefully they will be resolved
|
|||||||
eventually….
|
eventually….
|
||||||
|
|
||||||
- Only PDF files possible for now.
|
- Only PDF files possible for now.
|
||||||
- The PDF view in the Web-UI relies on the browsers capabilities.
|
- No fulltext search implemented. This currently has very low
|
||||||
Sadly, not all browsers can display PDF files. Some may require
|
priority, because I myself never needed it. Open an issue if you
|
||||||
extra plugins. And it's especially sad, that mobile browsers wont't
|
find it important.
|
||||||
display the files. It works with the major desktop browsers
|
|
||||||
(firefox, chromium), though.
|
|
||||||
|
@ -1202,7 +1202,9 @@ renderAttachmentView model pos attach =
|
|||||||
, ( "invisible hidden", isAttachMetaOpen model attach.id )
|
, ( "invisible hidden", isAttachMetaOpen model attach.id )
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
[ embed [ src fileUrl, type_ attach.contentType ]
|
[ iframe
|
||||||
|
[ src (fileUrl ++ "/view")
|
||||||
|
]
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
, div
|
, div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user