[MIG] attachment_preview to version 10.0

This commit is contained in:
tarteo
2019-10-01 09:23:56 +02:00
parent 295a6dc320
commit a83f972c2a
32 changed files with 2377 additions and 1356 deletions

View File

@@ -0,0 +1,2 @@
* Holger Brunn <hbrunn@therp.nl>
* Dennis Sluijk <d.sluijk@onestein.nl>

View File

@@ -0,0 +1,4 @@
Addon icon
----------
* courtesy of http://commons.wikimedia.org/wiki/Crystal_Clear

View File

@@ -0,0 +1,7 @@
This addon allows to preview attachments supported by http://viewerjs.org.
Currently, that's most Libreoffice files and PDFs.
.. image:: /attachment_preview/static/description/screenshot-split.png
:alt: Screenshot of split form view
:width: 100%

View File

@@ -0,0 +1,4 @@
For filetype recognition, you'll get the best results by installing
``python-magic``:
sudo apt-get install python-magic

View File

@@ -0,0 +1,8 @@
The module adds a little print preview icon right of download links for
attachments or binary fields. When a preview is opened from the attachments
menu it's shown next to the form view. From this screen you can navigate
through the attachments using the arrow buttons. Using the pop-out button
next to the navigational buttons you can open the preview in a separate window.
.. image:: /attachment_preview/static/description/screenshot-paginator.png
:alt: Screenshot navigator