mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-29 17:28:53 +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)
|
||||
|
||||
elif isinstance(target, ProhibitedNode):
|
||||
tag.fillSlots(filename=tags.strike(name))
|
||||
if IDirectoryNode.providedBy(target.wrapped_node):
|
||||
blacklisted_type = "DIR-BLACKLISTED"
|
||||
else:
|
||||
@ -850,6 +849,7 @@ class DirectoryAsHTML(Element):
|
||||
slots["type"] = blacklisted_type
|
||||
slots["size"] = "-"
|
||||
slots["info"] = ["Access Prohibited:", tags.br, target.reason]
|
||||
slots["filename"] = tags.strike(name)
|
||||
info_link = None
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user