[IMP] attachment_preview: pre-commit auto fixes

This commit is contained in:
Anjeel Haria
2025-07-03 17:43:02 +05:30
parent f54704de9b
commit 7f783fc8f6
13 changed files with 80 additions and 66 deletions

View File

@@ -0,0 +1,2 @@
- Holger Brunn \<<mail@hunki-enterprises.com>\>
- Dennis Sluijk \<<d.sluijk@onestein.nl>\>

View File

@@ -1,2 +0,0 @@
* Holger Brunn <mail@hunki-enterprises.com>
* Dennis Sluijk <d.sluijk@onestein.nl>

View File

@@ -0,0 +1,3 @@
## Addon icon
- courtesy of <http://commons.wikimedia.org/wiki/Crystal_Clear>

View File

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

View File

@@ -0,0 +1,6 @@
This addon allows to preview attachments supported by
<http://viewerjs.org>.
Currently, that's most Libreoffice files and PDFs.
![Screenshot of split form view](/attachment_preview/static/description/screenshot-split.png)

View File

@@ -1,7 +0,0 @@
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

@@ -1,4 +1,4 @@
For filetype recognition, you'll get the best results by installing
``python-magic``:
`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.
![Screenshot navigator](/attachment_preview/static/description/screenshot-paginator.png)

View File

@@ -1,8 +0,0 @@
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