From: freestorm77 Date: Tue, 22 Jun 2010 20:53:01 +0000 (-0700) Subject: directory_html_top_banner.dpatch X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/configuration.rst?a=commitdiff_plain;h=496b91717aef74c2cf9b60d7cbdb5d2a85765fcf;p=tahoe-lafs%2Ftahoe-lafs.git directory_html_top_banner.dpatch The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct --- 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():