mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Fixing some style bits for my own OCD
This commit is contained in:
parent
dc222cefd4
commit
92e178cc59
@ -66,7 +66,8 @@ class DocumentAdmin(admin.ModelAdmin):
|
|||||||
src="/fetch/thumb/{}".format(obj.id),
|
src="/fetch/thumb/{}".format(obj.id),
|
||||||
width=275,
|
width=275,
|
||||||
alt="thumbnail",
|
alt="thumbnail",
|
||||||
title=obj.file_name)
|
title=obj.file_name
|
||||||
|
)
|
||||||
return self._html_tag("a", png_img, href=obj.download_url)
|
return self._html_tag("a", png_img, href=obj.download_url)
|
||||||
thumbnail.allow_tags = True
|
thumbnail.allow_tags = True
|
||||||
|
|
||||||
|
@ -61,15 +61,15 @@ INSTALLED_APPS = [
|
|||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
_list_per_page = int(os.getenv("PAPERLESS_LIST_PER_PAGE", 25))
|
|
||||||
SUIT_CONFIG = {
|
SUIT_CONFIG = {
|
||||||
'ADMIN_NAME': 'Paperless',
|
'ADMIN_NAME': 'Paperless',
|
||||||
'SEARCH_URL': '',
|
'SEARCH_URL': '',
|
||||||
'LIST_PER_PAGE': _list_per_page,
|
'LIST_PER_PAGE': int(os.getenv("PAPERLESS_LIST_PER_PAGE", 25)),
|
||||||
'HEADER_DATE_FORMAT': 'D m-d-Y',
|
'HEADER_DATE_FORMAT': 'D m-d-Y',
|
||||||
'MENU': (
|
'MENU': (
|
||||||
'sites',
|
'sites',
|
||||||
{ 'app': 'documents',
|
{
|
||||||
|
'app': 'documents',
|
||||||
'label': 'Paperless',
|
'label': 'Paperless',
|
||||||
'icon': 'icon-file',
|
'icon': 'icon-file',
|
||||||
'models': ('Document', 'Tag', 'Correspondent', 'log')
|
'models': ('Document', 'Tag', 'Correspondent', 'log')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user