{{define "failures"}} {{template "head" .}} {{template "topbar" .}} {{template "breadcrumbs" .}}

Active Failures

{{if .ActiveFailures}} {{range .ActiveFailures}} {{end}}
Failure Time Details Server Slot Component
{{formatTime .FailureTime}}
{{.FailureType}}
{{if .Description}}{{.Description}}{{else}}—{{end}}
{{assetStatusText .AssetStatus}}
{{if .AssetID}}{{if .AssetURL}}{{.AssetLabel}}{{else}}{{.AssetLabel}}{{end}}{{else}}—{{end}}
{{if .AssetSerial}}{{.AssetSerial}}{{else}}—{{end}}
{{if .Slot}}{{.Slot}}{{else}}—{{end}}
{{componentStatusText .ComponentStatus}}
{{if .ComponentURL}}{{.ComponentLabel}}{{else}}{{.ComponentLabel}}{{end}}
{{if .ComponentSerial}}{{.ComponentSerial}}{{else}}—{{end}}
{{template "pagination" .ActivePager}} {{else}}
No active failures.
{{end}}

Failure Chronology

Includes failure registrations and repairs by replacing a component in the same slot on the same server.
{{if .FailureChronologyGroups}} {{range .FailureChronologyGroups}}
{{.Day}}
{{range .Items}}
{{if eq .Kind "failure"}}Failure{{else}}Replacement repair{{end}}
{{formatTimeFull .EventTime}}
{{if eq .Kind "failure"}} {{if .FailureType}}{{.FailureType}}{{else}}component_failed{{end}} {{else}} component_installed {{end}}
Server {{if .AssetURL}}{{.AssetLabel}}{{else}}{{.AssetLabel}}{{end}}{{if .AssetSerial}} ({{.AssetSerial}}){{end}} · Slot {{if .Slot}}{{.Slot}}{{else}}—{{end}}
{{if eq .Kind "failure"}}
Component {{if .ComponentURL}}{{.ComponentLabel}}{{else}}{{.ComponentLabel}}{{end}}{{if .ComponentSerial}} ({{.ComponentSerial}}){{end}} {{if .Description}} · {{.Description}}{{end}}
{{else}}
Replaced failed {{if .ComponentURL}}{{.ComponentLabel}}{{else}}{{.ComponentLabel}}{{end}} with {{if .ReplacementComponentURL}}{{.ReplacementComponentLabel}}{{else}}{{.ReplacementComponentLabel}}{{end}} {{if .ReplacementComponentSerial}} ({{.ReplacementComponentSerial}}){{end}}
{{end}}
{{end}}
{{end}} {{else}}
No failure chronology yet.
{{end}} {{template "pagination" .ChronologyPager}}
{{range .ManualFailureForm.ComponentOptions}}{{end}} {{range .ManualFailureForm.ServerSerials}}{{end}} {{range .ManualFailureForm.LocationSuggestions}}{{end}} {{range .ManualFailureForm.DateSuggestions}}{{end}} {{range .ManualFailureForm.DescriptionHints}}{{end}} {{end}}