Commit a765d574 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Use accessors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27115 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 78fdb765
...@@ -72,10 +72,10 @@ class ERP5SiteDocumentationHelper(DocumentationHelper): ...@@ -72,10 +72,10 @@ class ERP5SiteDocumentationHelper(DocumentationHelper):
""" """
""" """
return [(bt.getId(), return [(bt.getId(),
getattr(bt, "title", ''), bt.getTitle(),
getattr(bt, "description", ''), bt.getDescription(),
getattr(bt, "version", ''), bt.getVersion(),
getattr(bt, "revision", '')) bt.getRevision())
for bt in self.getBusinessTemplateValueList()] for bt in self.getBusinessTemplateValueList()]
security.declareProtected(Permissions.AccessContentsInformation, 'getBusinessTemplateUriList') security.declareProtected(Permissions.AccessContentsInformation, 'getBusinessTemplateUriList')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment