mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-01 18:56:41 +00:00
filename goes in the dict
This commit is contained in:
parent
19baba226a
commit
effaa6500c
@ -842,7 +842,6 @@ class DirectoryAsHTML(Element):
|
|||||||
info_link = "%s/uri/%s/?t=info" % (root, quoted_uri)
|
info_link = "%s/uri/%s/?t=info" % (root, quoted_uri)
|
||||||
|
|
||||||
elif isinstance(target, ProhibitedNode):
|
elif isinstance(target, ProhibitedNode):
|
||||||
tag.fillSlots(filename=tags.strike(name))
|
|
||||||
if IDirectoryNode.providedBy(target.wrapped_node):
|
if IDirectoryNode.providedBy(target.wrapped_node):
|
||||||
blacklisted_type = "DIR-BLACKLISTED"
|
blacklisted_type = "DIR-BLACKLISTED"
|
||||||
else:
|
else:
|
||||||
@ -850,6 +849,7 @@ class DirectoryAsHTML(Element):
|
|||||||
slots["type"] = blacklisted_type
|
slots["type"] = blacklisted_type
|
||||||
slots["size"] = "-"
|
slots["size"] = "-"
|
||||||
slots["info"] = ["Access Prohibited:", tags.br, target.reason]
|
slots["info"] = ["Access Prohibited:", tags.br, target.reason]
|
||||||
|
slots["filename"] = tags.strike(name)
|
||||||
info_link = None
|
info_link = None
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user