{{define "title"}}{{T "app.title.locations"}}{{end}} {{define "content"}}
{{if .EditingLocation}} {{end}}
{{T "locations.move_to_root"}}
{{if .LocationTree}} {{range .LocationTree}} {{end}} {{else}} {{end}}
{{T "locations.col.name"}} {{T "locations.col.parent"}} {{T "common.description"}} {{T "common.actions"}}
{{if .HasChildren}} {{else}} {{end}} {{.Name}} {{if gt .GridRows 0}} {{.GridRows}}×{{.GridCols}} {{end}} {{if eq .LifecycleState "archived"}} {{T "common.archived"}} {{end}}
{{if .ParentName.Valid}} {{.ParentName.String}} → {{else}} {{T "common.root"}} {{end}} {{.Description}}
{{if eq .ID 1}} {{T "common.locked"}} {{else if eq .LifecycleState "removed"}}
{{else}} {{if ne .LifecycleState "archived"}} {{T "common.edit"}} {{end}}
{{if ne .LifecycleState "archived"}}
{{end}}
{{end}}
{{T "locations.empty"}}
{{if .EditingLocation}}

{{T "locations.edit_location"}}

× {{T "locations.grid_dims"}}

{{T "locations.container_array_hint"}}

{{T "common.cancel"}}
{{else}}

{{T "locations.create_location"}}

{{end}}
{{end}}