Show Tabs if there do not define some permissions
This commit is contained in:
parent
5d754984a3
commit
2f28655a25
@ -15,7 +15,7 @@ from django.template.loader_tags import BlockNode, ExtendsNode
|
||||
|
||||
|
||||
class Tab(object):
|
||||
def __init__(self, title='', url='', permission='', selected=False):
|
||||
def __init__(self, title='', url='', permission=True, selected=False):
|
||||
self.selected = False
|
||||
self.title = title
|
||||
self.permission = permission
|
||||
|
Loading…
Reference in New Issue
Block a user