{{/* R-259: the figures and the bar render ONLY when the measurement succeeded. A statfs
failure used to leave every number at zero, and usageColor(0) is "nominal" — so a disk
we could not read was drawn as a healthy empty one. Same reasoning as the off-site
card: a 0%-wide bar over an unmeasured store is a picture of emptiness, and a picture
is a claim. */}}
{{if not .SystemInfo.DiskKnown}}
{{end}}
{{/* Cross-drive ("2. mentés") moved to the host agent in slice 8C — the dashboard handler no
longer provides CrossDrive* fields, so the old block was a dead reference that 500'd the
dashboard (gt 0). Removed in v0.41.2. */}}
{{end}}
{{T "dashboard.telepitett_alkalmazasok"}}
{{range .Stacks}}
{{$im := infraMeta .Name}}
{{if $im}}
{{template "app_list_row" dict "Slug" .Meta.Slug "Name" $im.DisplayName "Secondary" $im.Description "RowClass" (printf "stack-state-%s" (stateColor .State)) "Href" (appHref .Meta.Slug) "FallbackIcon" "/static/infra-logo.svg"}}
{{else}}
{{template "app_list_row" dict "Slug" .Meta.Slug "Name" .Meta.DisplayName "Secondary" .Meta.Description "RowClass" (printf "stack-state-%s" (stateColor .State)) "Href" (appHref .Meta.Slug)}}
{{end}}
{{stateLabel .State}}
{{if .Orphaned}}{{T "common.elavult"}}{{end}}
{{template "meta_badge" (lifecycleBadge .Meta)}}
{{$ms := index $.MissingStorage .Name}}{{if $ms}}{{T "dashboard.hianyzo_tarhely"}}{{end}}
{{if $.OOMKilled}}{{if index $.OOMKilled .Name}}{{T "dashboard.memoria_elfogyott"}}{{end}}{{end}}
{{$ns := index $.NetworkStubs .Name}}{{if $ns}}{{T "dashboard.halozati_tarhely_hibas_az_alkalmazas"}}{{end}}
{{$nw := index $.NetworkWarnings .Name}}{{if $nw}}{{T "dashboard.halozati_tarhely_nem_elerheto"}}{{end}}
{{if and .Deployed (routeUnpublished .State)}}{{T "dashboard.url_nem_elerheto"}}{{end}}
{{if .Protected}}
{{T "dashboard.vedett"}}
{{/* Customer link ONLY for Linked infra (filebrowser → files.) —
cloudflared/traefik have no customer UI (guarded by render test). */}}
{{if and $im $im.Linked}}
{{$subdomain := index $.Subdomains .Name}}
{{if $subdomain}}{{T "dashboard.megnyitas"}} {{end}}
{{end}}
{{if isOperational .State}}
{{end}}
{{else if not .Deployed}}
{{T "dashboard.telepites"}}
{{else}}
{{if isOperational .State}}
{{$subdomain := index $.Subdomains .Name}}
{{if $subdomain}}{{T "dashboard.megnyitas"}} {{end}}
{{else}}
{{if not .Orphaned}}{{end}}
{{end}}
{{T "dashboard.naplo"}}
{{if .Orphaned}}{{end}}
{{end}}
{{template "app_list_row_end"}}
{{else}}