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:
Frédéric Péters 2014-03-12 12:02:37 +01:00
parent 81d94d53b4
commit 4bca449d1d
1 changed files with 2 additions and 6 deletions

View File

@ -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):