]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
directory_html_top_banner.dpatch
authorfreestorm77 <freestorm77@gmail.com>
Tue, 22 Jun 2010 20:53:01 +0000 (13:53 -0700)
committerfreestorm77 <freestorm77@gmail.com>
Tue, 22 Jun 2010 20:53:01 +0000 (13:53 -0700)
The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct

src/allmydata/web/directory.py

index f01cd1d7f519c82b57e53cb67967931052fab765..c04c74a1f01194c14fec57086306b7fae47819d0 100644 (file)
@@ -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():