{ s.Title }
if s.Description != "" {{ s.Description }
}{ i18n.T(ctx, "page.stale", "Time", a.StaleSince.UTC().Format("2006-01-02 15:04")+" UTC") }
}{ i18n.T(ctx, "page.status."+s.Status) }
{ sec.Name }
}-
for _, comp := range sec.Components {
-
@statusDot(PageStatus(comp.Status)) { comp.Name } { i18n.T(ctx, "page.component."+comp.Status) }@bars(DayBars(comp.Days), 22){ i18n.T(ctx, "page.days_ago", "Count", len(comp.Days)) } { UptimeText(comp.Uptime) } { i18n.T(ctx, "page.today") }
}
{ i18n.T(ctx, "page.incidents") }
if len(s.Incidents) == 0 {{ i18n.T(ctx, "page.no_incidents") }
} else {-
for _, inc := range s.Incidents {
- if inc.ResolvedAt == nil { { i18n.T(ctx, "incidents.ongoing") } } else { { i18n.T(ctx, "incidents.resolved") } } { inc.Component } { inc.StartedAt.UTC().Format("2006-01-02 15:04") } if inc.ResolvedAt != nil { – { inc.ResolvedAt.UTC().Format("15:04") } } UTC }