Part of canonical.launchpad.webapp.tales View In Hierarchy
Implements interfaces: zope.traversing.interfaces.ITraversable
This is registered to be used for the dict type.
Method | __init__ | Undocumented |
Method | traverse | Undocumented |
Method | pagetitle | Return the string title for the page template CONTEXTS dict. |
Take the simple filename without extension from self.contextdict['template'].filename, replace any hyphens with underscores, and use this to look up a string, unicode or function in the module canonical.launchpad.pagetitles.
If no suitable object is found in canonical.launchpad.pagetitles, emit a warning that this page has no title, and return the default page title.