Ticket #1097: directory_html_top_banner.dpatch

File directory_html_top_banner.dpatch, 1.4 KB (added by freestorm, at 2010-06-22T22:41:24Z)

Patch for directory.py

Line 
1Tue Jun 22 22:53:01 CEST 2010  freestorm77@gmail.com
2  * directory_html_top_banner.dpatch
3 
4  The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct
5 
6
7New patches:
8
9[directory_html_top_banner.dpatch
10freestorm77@gmail.com**20100622205301
11 Ignore-this: 1d770d975e0c414c996564774f049bca
12 
13 The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct
14 
15] hunk ./src/allmydata/web/directory.py 616
16 
17     def render_welcome(self, ctx, data):
18         link = get_root(ctx)
19-        return T.div[T.a(href=link)["Return to Welcome page"]]
20+        return ctx.tag[T.a(href=link)["Return to Welcome page"]]
21 
22     def render_show_readonly(self, ctx, data):
23         if self.node.is_unknown() or self.node.is_readonly():
24
25Context:
26
27[docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around
28zooko@zooko.com**20100619065318
29 Ignore-this: dc6db03f696e5b6d2848699e754d8053
30] 
31[docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates"
32zooko@zooko.com**20100619065124
33 Ignore-this: e292c7f51c337a84ebfeb366fbd24d6c
34] 
35[TAG allmydata-tahoe-1.7.0
36zooko@zooko.com**20100619052631
37 Ignore-this: d21e27afe6d85e2e3ba6a3292ba2be1
38] 
39Patch bundle hash:
40c5a12fa608a229255a69dbbba31aa87950e1f134