changeset 141:ce6cece6875f

remove obsolute Parent Page link, replaced by the breadcrumbs title imported from: moin--main--1.5--patch-143
author Nir Soffer <nirs@freeshell.org>
date Thu, 27 Oct 2005 01:18:53 +0000
parents 6a19d2b98493
children 0b1b06737340
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Wed Oct 26 22:16:00 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Thu Oct 27 01:18:53 2005 +0000
@@ -1014,22 +1014,13 @@
         This is separate method to make it easy to customize the
         edtibar in sub classes.
         """
-        return [self.parentLink(page),
-                self.editorLink(page),
+        return [self.editorLink(page),
                 self.infoLink(page),
                 self.subscribeLink(page),
                 self.quicklinkLink(page),
                 self.attachmentsLink(page),
                 self.actionsMenu(page),]
 
-    def parentLink(self, page):
-        """ Return link to parent page """
-        _ = self.request.getText
-        parent = page.getParentPage()
-        if parent is None:
-            return ''
-        return parent.link_to(self.request, _("Parent Page", formatted=False))
-
     def editorLink(self, page):
         """ Return a link to the editor