Add a link to the REST API documentation app
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
link_api = {'text': _(u'REST API'), 'view': 'api-root', 'famfam': 'disconnect', 'icon': 'disconnect.png'}
|
||||
link_api_documentation = {'text': _(u'REST API Documentation'), 'view': 'django.swagger.base.view', 'famfam': 'book', 'icon': 'book.png'}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from .links import link_api
|
||||
from .links import link_api, link_api_documentation
|
||||
|
||||
tool_links = [link_api]
|
||||
tool_links = [link_api, link_api_documentation]
|
||||
|
||||
BIN
mayan/apps/rest_api/static/images/icons/book.png
Normal file
BIN
mayan/apps/rest_api/static/images/icons/book.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 736 B |
Reference in New Issue
Block a user