Update the common, django_gpg, document_comments, document_indexing, document_parsing, document_signatures, document_states, event, linking, mailer, permissions, rest_api, smart_settings, sources and task manager apps to use the new Icon class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -4,16 +4,21 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from navigation import Link
|
||||
|
||||
from .icons import (
|
||||
icon_api, icon_api_documentation, icon_api_documentation_redoc
|
||||
)
|
||||
|
||||
|
||||
link_api = Link(
|
||||
icon='fa fa-plug', tags='new_window', text=_('REST API'),
|
||||
icon_class=icon_api, tags='new_window', text=_('REST API'),
|
||||
view='rest_api:api_root'
|
||||
)
|
||||
link_api_documentation = Link(
|
||||
icon='fa fa-book', tags='new_window', text=_('API Documentation (Swagger)'),
|
||||
view='schema-swagger-ui'
|
||||
icon_class=icon_api_documentation, tags='new_window',
|
||||
text=_('API Documentation (Swagger)'), view='schema-swagger-ui'
|
||||
)
|
||||
|
||||
link_api_documentation_redoc = Link(
|
||||
icon='fa fa-book', tags='new_window', text=_('API Documentation (ReDoc)'),
|
||||
view='schema-redoc'
|
||||
icon_class=icon_api_documentation_redoc, tags='new_window',
|
||||
text=_('API Documentation (ReDoc)'), view='schema-redoc'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user