Add Object.label class attribute, enable in webUI

This commit is contained in:
Jason Gerard DeRose
2010-02-08 05:03:28 -07:00
committed by Rob Crittenden
parent 338578d10a
commit 069763c5c6
17 changed files with 88 additions and 7 deletions

View File

@@ -131,7 +131,7 @@ class Engine(object):
)
def build_cruds_page(self, obj):
page = self.app.new('PageGrid', title=obj.name, id=obj.name)
page = self.app.new('PageGrid', title=obj.label, id=obj.name)
# Setup CRUDS widget:
page.cruds.autoload = True