From 496b91717aef74c2cf9b60d7cbdb5d2a85765fcf Mon Sep 17 00:00:00 2001 From: freestorm77 Date: Tue, 22 Jun 2010 13:53:01 -0700 Subject: [PATCH] directory_html_top_banner.dpatch The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct --- src/allmydata/web/directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index f01cd1d7..c04c74a1 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -613,7 +613,7 @@ class DirectoryAsHTML(rend.Page): def render_welcome(self, ctx, data): link = get_root(ctx) - return T.div[T.a(href=link)["Return to Welcome page"]] + return ctx.tag[T.a(href=link)["Return to Welcome page"]] def render_show_readonly(self, ctx, data): if self.node.is_unknown() or self.node.is_readonly(): -- 2.45.2