projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60bbc46
)
web: "More Info" link describes the same file that the "file" link points to, rather...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 5 Dec 2008 22:05:02 +0000
(15:05 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 5 Dec 2008 22:05:02 +0000
(15:05 -0700)
It's a subtle but real difference.
Fixes #553 -- "More Info" link should point to a file/dir, not a dir+childname .
src/allmydata/web/directory.py
patch
|
blob
|
history
diff --git
a/src/allmydata/web/directory.py
b/src/allmydata/web/directory.py
index 9df9df863613ce74a8cbceee21def3d70bdd8747..c00e0fa5c034a4f14b97675995b5b451060c7837 100644
(file)
--- a/
src/allmydata/web/directory.py
+++ b/
src/allmydata/web/directory.py
@@
-560,7
+560,8
@@
class DirectoryAsHTML(rend.Page):
ctx.fillSlots("size", "-")
info_link = "%s/?t=info" % nameurl
- ctx.fillSlots("info", T.a(href=info_link)["More Info"])
+ moreinfourl = "%s/file/%s?t=info" % (root, quoted_uri)
+ ctx.fillSlots("info", T.a(href=moreinfourl)["More Info"])
return ctx.tag