mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Use chevrons not slashes to separate folders
It looks weird to have two different visual treatments for showing a navigable hierarchy. I reckon losing the slash won’t make things less folder like – Windows for example uses chevrons as foler separators.
This commit is contained in:
@@ -452,7 +452,10 @@ class Service(JSONModel):
|
||||
"users_with_permission": folder["users_with_permission"]
|
||||
}
|
||||
while folder_attrs["parent_id"] is not None:
|
||||
folder_attrs["name"] = parent["name"] + " / " + folder_attrs["name"]
|
||||
folder_attrs["name"] = [
|
||||
parent["name"],
|
||||
folder_attrs["name"],
|
||||
]
|
||||
if parent["parent_id"] is None:
|
||||
folder_attrs["parent_id"] = None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user