Move indexin widgets to the html_widget.py module

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-16 00:10:01 -04:00
parent 0cdba79738
commit 2f5a0d071f
5 changed files with 8 additions and 2 deletions

View File

@@ -80,6 +80,8 @@
* Add dependencies app
* Convert the document tags widget to use HTML templates.
* Move Tag app HTML widgets to their own module.
* Move the document index app widgets to the html_widget.py
module.
3.1.11 (2019-04-XX)
===================

View File

@@ -112,6 +112,8 @@ Other changes
* Add dependencies app
* Convert the document tags widget to use HTML templates.
* Move Tag app HTML widgets to their own module.
* Move the document index app widgets to the html_widget.py
module.
Removals
--------

View File

@@ -23,6 +23,9 @@ from .handlers import (
handler_index_document, handler_remove_document,
handler_post_save_index_document
)
from .html_widgets import (
get_instance_link, index_instance_item_link, node_level
)
from .links import (
link_document_index_list, link_index_main_menu, link_index_setup,
link_index_setup_create, link_index_setup_document_types,
@@ -39,7 +42,6 @@ from .permissions import (
permission_document_indexing_rebuild, permission_document_indexing_view
)
from .queues import * # NOQA
from .widgets import get_instance_link, index_instance_item_link, node_level
class DocumentIndexingApp(MayanAppConfig):

View File

@@ -17,6 +17,7 @@ from mayan.apps.documents.permissions import permission_document_view
from mayan.apps.documents.views import DocumentListView
from .forms import IndexTemplateFilteredForm, IndexTemplateNodeForm
from .html_widgets import node_tree
from .icons import icon_index
from .links import link_index_setup_create
from .models import (
@@ -30,7 +31,6 @@ from .permissions import (
permission_document_indexing_view
)
from .tasks import task_rebuild_index
from .widgets import node_tree
# Setup views