force folder links title (#4441)
So we do not have to go and update portlets assignments whenever there are changes to the default value
This commit is contained in:
parent
81d94d53b4
commit
4bca449d1d
|
@ -16,11 +16,7 @@ from . import _
|
|||
|
||||
|
||||
class IFolderLinksPortlet(IPortletDataProvider):
|
||||
name = schema.TextLine(
|
||||
title=_(u"Title"),
|
||||
description=_(u"The title of the navigation tree."),
|
||||
default=_(u"Shortcuts"),
|
||||
required=False)
|
||||
pass
|
||||
|
||||
|
||||
class Assignment(base.Assignment):
|
||||
|
@ -33,7 +29,7 @@ class Renderer(base.Renderer):
|
|||
render = ViewPageTemplateFile('folderlinks.pt')
|
||||
|
||||
def title(self):
|
||||
return self.data.name or _(u'Shortcuts')
|
||||
return _(u'Shortcuts')
|
||||
|
||||
@property
|
||||
def available(self):
|
||||
|
|
Reference in New Issue