Show Tabs if there do not define some permissions

This commit is contained in:
Oskar Hahn 2013-01-05 01:03:42 +01:00
parent 5d754984a3
commit 2f28655a25

View File

@ -15,7 +15,7 @@ from django.template.loader_tags import BlockNode, ExtendsNode
class Tab(object): class Tab(object):
def __init__(self, title='', url='', permission='', selected=False): def __init__(self, title='', url='', permission=True, selected=False):
self.selected = False self.selected = False
self.title = title self.title = title
self.permission = permission self.permission = permission