{{/*
  host_update_chip — small amber chip rendered when the agent version
  on a host is behind the server's. Expects:
    .UpdateAvailable bool
    .TargetVersion   string
    .Host            store.Host (for AgentVersion)
  Hidden entirely when UpdateAvailable is false.
*/}}
{{define "host_update_chip"}}
{{if .UpdateAvailable}}<span class="update-chip" title="Agent at {{.Host.AgentVersion}}; server at {{.TargetVersion}}">out of date</span>{{end}}
{{end}}
