{{define "app_instance"}}{{template "top" .}} {{if .Flash}}
{{end}} {{if .FlashErr}}{{end}} {{template "appnav" .}} {{with .InstanceDetail}}{{.Row.Channel}}{{.Rollout.Installed}}{{.Rollout.Serving}}{{else}}—{{end}}{{.Row.Version}}{{else}}—{{end}}{{.TargetVersion}}{{else}}—{{end}}{{.}}
{{end}} {{if .CanRetry}}{{end}} {{with .RolloutNote}}{{.}}
{{end}} {{if eq .Row.HealthWord "No readings"}}{{$.InstanceCopy.NoReadings}}
{{end}} {{if eq .Row.HealthWord "Asleep"}}wakes on the next request
{{end}} {{if and .Row.Version .TargetVersion (not .TargetErr) (ne .Row.Version .TargetVersion)}}{{$.InstanceCopy.PendingVersion}}
{{end}} {{with .Updates}}{{.NamedUnit}}
{{else}} {{if .NotEnforced}}{{end}} {{with .StatusLine}}{{.}}
{{end}} {{if .HasForm}} {{if .Refusing}}{{$.UpdatesText "settings.page.refused-until-boxes"}}
{{end}}{{end}} {{end}}