mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
web/directory.py: use "DIR-IMM" to describe immutable directories, not DIR-RO
This commit is contained in:
parent
e5452290f7
commit
834b20210a
@ -703,7 +703,9 @@ class DirectoryAsHTML(rend.Page):
|
||||
uri_link = "%s/uri/%s/" % (root, urllib.quote(writecap))
|
||||
ctx.fillSlots("filename",
|
||||
T.a(href=uri_link)[html.escape(name)])
|
||||
if target.is_readonly():
|
||||
if not target.is_mutable():
|
||||
dirtype = "DIR-IMM"
|
||||
elif target.is_readonly():
|
||||
dirtype = "DIR-RO"
|
||||
else:
|
||||
dirtype = "DIR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user