Add support for the new_window link tag that open selected links into new browser window/tab.
This commit is contained in:
@@ -4,8 +4,11 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from navigation import Link
|
||||
|
||||
link_api = Link(icon='fa fa-plug', text=_('REST API'), view='rest_api:api-root')
|
||||
link_api = Link(
|
||||
icon='fa fa-plug', tags='new_window', text=_('REST API'),
|
||||
view='rest_api:api-root'
|
||||
)
|
||||
link_api_documentation = Link(
|
||||
icon='fa fa-book', text=_('API Documentation'),
|
||||
icon='fa fa-book', tags='new_window', text=_('API Documentation'),
|
||||
view='django.swagger.base.view'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user