Convert document thumbnails, preview, image preview and staging files to template base widgets. Unify all updated widgets. Display resolution settings are now specified as width and height and not a single resolution value.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-04-01 20:04:05 -04:00
committed by Roberto Rosario
parent d29d4ba110
commit 8590bff6e4
19 changed files with 264 additions and 471 deletions
+3 -2
View File
@@ -41,7 +41,7 @@ from ..permissions import (
permission_document_trash, permission_document_view,
permission_empty_trash
)
from ..settings import setting_print_size
from ..settings import setting_print_width, setting_print_height
from ..tasks import task_delete_document, task_update_page_count
from ..utils import parse_range
@@ -743,7 +743,8 @@ class DocumentPrint(FormView):
{
'appearance_type': 'plain',
'pages': pages,
'size': setting_print_size.value,
'width': setting_print_width.value,
'height': setting_print_height.value,
}
)