{{define "title"}}{{T "app.title.locations"}}{{end}} {{define "content"}}
{{if .EditingLocation}} {{end}}
{{if .Locations}} {{range .Locations}} {{end}} {{else}} {{end}}
{{T "locations.col.name"}} {{T "locations.col.parent"}} {{T "common.description"}} {{T "common.actions"}}
{{.Name}} {{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 "common.cancel"}}
{{else}}

{{T "locations.create_location"}}

{{end}}
{{end}}