mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-23 13:52:13 -06:00
[MIG] attachment_preview to version 10.0
This commit is contained in:
2
attachment_preview/readme/CONTRIBUTORS.rst
Normal file
2
attachment_preview/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,2 @@
|
||||
* Holger Brunn <hbrunn@therp.nl>
|
||||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
4
attachment_preview/readme/CREDITS.rst
Normal file
4
attachment_preview/readme/CREDITS.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
Addon icon
|
||||
----------
|
||||
|
||||
* courtesy of http://commons.wikimedia.org/wiki/Crystal_Clear
|
||||
7
attachment_preview/readme/DESCRIPTION.rst
Normal file
7
attachment_preview/readme/DESCRIPTION.rst
Normal 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%
|
||||
4
attachment_preview/readme/INSTALL.rst
Normal file
4
attachment_preview/readme/INSTALL.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
For filetype recognition, you'll get the best results by installing
|
||||
``python-magic``:
|
||||
|
||||
sudo apt-get install python-magic
|
||||
8
attachment_preview/readme/USAGE.rst
Normal file
8
attachment_preview/readme/USAGE.rst
Normal 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
|
||||
Reference in New Issue
Block a user