Consolidate navigation tags, consolidate setup and tool link
This commit is contained in:
@@ -2,5 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
link_api = {'text': _('REST API'), 'view': 'api-root', 'icon': 'fa fa-plug'}
|
||||
link_api_documentation = {'text': _('REST API Documentation'), 'view': 'django.swagger.base.view', 'icon': 'fa fa-book'}
|
||||
from navigation import Link
|
||||
|
||||
link_api = Link(icon='fa fa-plug', text=_('REST API'), view='api-root')
|
||||
link_api_documentation = Link(icon='fa fa-book', text=_('REST API Documentation'), view='django.swagger.base.view')
|
||||
|
||||
Reference in New Issue
Block a user