add file infobase info

This commit is contained in:
Dmitry Belyaev 2021-09-22 12:22:51 +03:00
parent 1165606a37
commit d289a41e4d
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -22,6 +22,8 @@ def infobase_data_blank(name: str):
'url': '', 'url': '',
'directory': '', 'directory': '',
'vrd_filename': '', 'vrd_filename': '',
'infobase_filepath': '',
'is_file_infobase': False,
} }
@ -32,6 +34,8 @@ def publication_data(publication: WebPublication):
'url': publication.url_path, 'url': publication.url_path,
'directory': publication.directory, 'directory': publication.directory,
'vrd_filename': publication.vrd_filename, 'vrd_filename': publication.vrd_filename,
'infobase_filepath': publication.infobase_filepath,
'is_file_infobase': publication.is_file_infobase(),
} }