From 3fb37ae246b08fedb9476f1c87967649d87bc02b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 16 Jan 2007 19:55:53 -0700 Subject: [PATCH] webish: more verifierid-to-uri transition --- src/allmydata/web/directory.xhtml | 4 ++-- src/allmydata/webish.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/allmydata/web/directory.xhtml b/src/allmydata/web/directory.xhtml index 38a09c9c..a290d1fe 100644 --- a/src/allmydata/web/directory.xhtml +++ b/src/allmydata/web/directory.xhtml @@ -17,13 +17,13 @@ Filename Type - fileid + URI - + diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index 70c1c737..d0569c9c 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -121,7 +121,7 @@ class Directory(rend.Page): dl_uri_url = url.root.child("download_uri").child(uri) # add a filename= query argument to give it a Content-Type dl_uri_url = dl_uri_url.add("filename", name) - ctx.fillSlots("fileid", T.a(href=dl_uri_url)[html.escape(uri)]) + ctx.fillSlots("uri", T.a(href=dl_uri_url)[html.escape(uri)]) # this creates a button which will cause our child__delete method # to be invoked, which deletes the file and then redirects the @@ -139,7 +139,7 @@ class Directory(rend.Page): ctx.fillSlots("filename", T.a(href=subdir_url)[html.escape(name)]) ctx.fillSlots("type", "DIR") - ctx.fillSlots("fileid", "-") + ctx.fillSlots("uri", "-") ctx.fillSlots("delete", "-") return ctx.tag -- 2.45.2