Why digests are unknown
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "
Why digests are unknown
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -304,211 +359,211 @@ func HygienePage(v HygieneView) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if len(v.Findings) == 0 && v.Total > 0 {
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else if len(v.Findings) == 0 {
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "Nothing found: every image has a version tag and a known digest.
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "Nothing found: every image has a version tag and a known digest.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
diff --git a/internal/ui/integrations_test.go b/internal/ui/integrations_test.go
index 053605dc..b0fb6ecd 100644
--- a/internal/ui/integrations_test.go
+++ b/internal/ui/integrations_test.go
@@ -312,7 +312,7 @@ func TestHygieneTeamFilter(t *testing.T) {
if !strings.Contains(page, "ghcr.io/acme/payments:latest") || strings.Contains(page, "ghcr.io/acme/web:stable") {
t.Fatal("the team filter shows another team's images")
}
- if !strings.Contains(page, `
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -249,38 +299,38 @@ func secret(label, value string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Var12 := templ.GetChildren(ctx)
- if templ_7745c5c3_Var12 == nil {
- templ_7745c5c3_Var12 = templ.NopComponent
+ templ_7745c5c3_Var15 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var15 == nil {
+ templ_7745c5c3_Var15 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var13 string
- templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(label)
+ var templ_7745c5c3_Var16 string
+ templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.JoinStringErrs(label)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 42, Col: 17}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 46, Col: 17}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var16))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, " ")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var14 string
- templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(value)
+ var templ_7745c5c3_Var17 string
+ templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.JoinStringErrs(value)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 43, Col: 33}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 47, Col: 33}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var17))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, " It is shown only once.
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, " It is shown only once. ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -306,33 +356,33 @@ func about(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Var15 := templ.GetChildren(ctx)
- if templ_7745c5c3_Var15 == nil {
- templ_7745c5c3_Var15 = templ.NopComponent
+ templ_7745c5c3_Var18 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var18 == nil {
+ templ_7745c5c3_Var18 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "About this page
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\">About this page
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ_7745c5c3_Var15.Render(ctx, templ_7745c5c3_Buffer)
+ templ_7745c5c3_Err = templ_7745c5c3_Var18.Render(ctx, templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -357,12 +407,12 @@ func aboutText(text string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Var17 := templ.GetChildren(ctx)
- if templ_7745c5c3_Var17 == nil {
- templ_7745c5c3_Var17 = templ.NopComponent
+ templ_7745c5c3_Var20 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var20 == nil {
+ templ_7745c5c3_Var20 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Var18 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
+ templ_7745c5c3_Var21 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W)
if !templ_7745c5c3_IsBuffer {
@@ -374,18 +424,18 @@ func aboutText(text string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- var templ_7745c5c3_Var19 string
- templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(text)
+ var templ_7745c5c3_Var22 string
+ templ_7745c5c3_Var22, templ_7745c5c3_Err = templ.JoinStringErrs(text)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 63, Col: 8}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 67, Col: 8}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var22))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
return nil
})
- templ_7745c5c3_Err = about(text).Render(templ.WithChildren(ctx, templ_7745c5c3_Var18), templ_7745c5c3_Buffer)
+ templ_7745c5c3_Err = about(text).Render(templ.WithChildren(ctx, templ_7745c5c3_Var21), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -411,51 +461,51 @@ func panelInfo(text string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Var20 := templ.GetChildren(ctx)
- if templ_7745c5c3_Var20 == nil {
- templ_7745c5c3_Var20 = templ.NopComponent
+ templ_7745c5c3_Var23 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var23 == nil {
+ templ_7745c5c3_Var23 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\">
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var23 string
- templ_7745c5c3_Var23, templ_7745c5c3_Err = templ.JoinStringErrs(text)
+ var templ_7745c5c3_Var26 string
+ templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinStringErrs(text)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 72, Col: 37}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `parts.templ`, Line: 76, Col: 37}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var23))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
diff --git a/internal/ui/promotions.templ b/internal/ui/promotions.templ
index c3dc8125..c1852eed 100644
--- a/internal/ui/promotions.templ
+++ b/internal/ui/promotions.templ
@@ -101,7 +101,7 @@ templ PromotionsPage(v PromotionsView) {
{ "Open PR → " + p.To }
if len(p.PRs) > 1 {
- { " (" + pr.Target + ")" }
+ { " (" + prPlace(p.PRs, pr) + ")" }
}
}
diff --git a/internal/ui/promotions_templ.go b/internal/ui/promotions_templ.go
index bd3b91ad..b50e206b 100644
--- a/internal/ui/promotions_templ.go
+++ b/internal/ui/promotions_templ.go
@@ -558,9 +558,9 @@ func PromotionsPage(v PromotionsView) templ.Component {
}
if len(p.PRs) > 1 {
var templ_7745c5c3_Var30 string
- templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(" (" + pr.Target + ")")
+ templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(" (" + prPlace(p.PRs, pr) + ")")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `promotions.templ`, Line: 104, Col: 38}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `promotions.templ`, Line: 104, Col: 47}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30))
if templ_7745c5c3_Err != nil {
diff --git a/internal/ui/prplace_test.go b/internal/ui/prplace_test.go
new file mode 100644
index 00000000..52433887
--- /dev/null
+++ b/internal/ui/prplace_test.go
@@ -0,0 +1,45 @@
+// Copyright 2026 The Goliash Authors
+// SPDX-License-Identifier: AGPL-3.0-only
+
+package ui
+
+import "testing"
+
+// Two pull requests on the same target are told apart by their application.
+func TestPRPlace(t *testing.T) {
+ a := PromotePR{WorkloadID: "demo-staging/postgres", Target: "demo-staging", App: "identity-staging"}
+ b := PromotePR{WorkloadID: "demo-staging/shop-db", Target: "demo-staging", App: "webshop-staging"}
+ c := PromotePR{WorkloadID: "demo-prod/postgres", Target: "demo-prod", App: "identity-prod"}
+ prs := []PromotePR{a, b, c}
+ for _, tc := range []struct {
+ pr PromotePR
+ want string
+ }{{a, "identity-staging"}, {b, "webshop-staging"}, {c, "demo-prod"}} {
+ if got := prPlace(prs, tc.pr); got != tc.want {
+ t.Errorf("prPlace(%s) = %q, want %q", tc.pr.WorkloadID, got, tc.want)
+ }
+ }
+}
+
+func TestExploitedTail(t *testing.T) {
+ if got := exploitedTail(1, nil); got != " runs" {
+ t.Errorf("one: %q", got)
+ }
+ if got := exploitedTail(2, []string{"CVE-1", "CVE-2"}); got != " run, 2 past CISA's due date: CVE-1, CVE-2" {
+ t.Errorf("two: %q", got)
+ }
+}
+
+func TestLeadingService(t *testing.T) {
+ e := EventView{Service: "redis", ServiceURL: "/services/redis", Text: "redis @ prod: runs 7.2.4"}
+ if rest, ok := leadingService(e, true); !ok || rest != " @ prod: runs 7.2.4" {
+ t.Errorf("got %q %v", rest, ok)
+ }
+ e.Text = "redis-cache @ prod: runs 1"
+ if _, ok := leadingService(e, true); ok {
+ t.Error("a longer name is not the service")
+ }
+ if _, ok := leadingService(EventView{Service: "redis", ServiceURL: "/s", Text: "redis"}, false); ok {
+ t.Error("the service page does not link the service")
+ }
+}
diff --git a/internal/ui/security.go b/internal/ui/security.go
index 285f824e..a0d0a7e8 100644
--- a/internal/ui/security.go
+++ b/internal/ui/security.go
@@ -1199,3 +1199,16 @@ func unmitigatedCount(r versions.VulnReport) int {
}
return n
}
+
+// exploitedTail ends the brief's line on running exploited vulnerabilities: they run, and which are past
+// CISA's due date.
+func exploitedTail(n int, pastDue []string) string {
+ out := " runs"
+ if n != 1 {
+ out = " run"
+ }
+ if len(pastDue) > 0 {
+ out += ", " + itoa(len(pastDue)) + " past CISA's due date: " + strings.Join(pastDue, ", ")
+ }
+ return out
+}
diff --git a/internal/ui/security.templ b/internal/ui/security.templ
index af678a12..df26f37f 100644
--- a/internal/ui/security.templ
+++ b/internal/ui/security.templ
@@ -163,7 +163,7 @@ templ SecurityPage(v SecurityView) {
}
@@ -647,10 +647,7 @@ templ sinceYesterday(v SecurityView) {
}
if v.Brief.Exploited > 0 {
- { plural(v.Brief.Exploited, "vulnerability", "vulnerabilities") + " exploited in the wild" } run
- if len(v.Brief.PastDue) > 0 {
- { ", " + itoa(len(v.Brief.PastDue)) + " past CISA's due date: " + strings.Join(v.Brief.PastDue, ", ") }
- }
+ { plural(v.Brief.Exploited, "vulnerability", "vulnerabilities") + " exploited in the wild" }{ exploitedTail(v.Brief.Exploited, v.Brief.PastDue) }
}
if len(v.Brief.Overdue) > 0 {
diff --git a/internal/ui/security_templ.go b/internal/ui/security_templ.go
index 660859db..1bf0342c 100644
--- a/internal/ui/security_templ.go
+++ b/internal/ui/security_templ.go
@@ -972,9 +972,9 @@ func SecurityPage(v SecurityView) templ.Component {
}
if len(v.PRs[ex.Service.ID+"|"+ex.Environment.ID]) > 1 {
var templ_7745c5c3_Var60 string
- templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(" (" + pr.Target + ")")
+ templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(" (" + prPlace(v.PRs[ex.Service.ID+"|"+ex.Environment.ID], pr) + ")")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 166, Col: 38}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 166, Col: 84}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60))
if templ_7745c5c3_Err != nil {
@@ -3284,20 +3284,18 @@ func sinceYesterday(v SecurityView) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, " run ")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- if len(v.Brief.PastDue) > 0 {
- var templ_7745c5c3_Var175 string
- templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(", " + itoa(len(v.Brief.PastDue)) + " past CISA's due date: " + strings.Join(v.Brief.PastDue, ", "))
- if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 652, Col: 108}
- }
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175))
- if templ_7745c5c3_Err != nil {
- return templ_7745c5c3_Err
- }
+ var templ_7745c5c3_Var175 string
+ templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(exploitedTail(v.Brief.Exploited, v.Brief.PastDue))
+ if templ_7745c5c3_Err != nil {
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 650, Col: 195}
+ }
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175))
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
}
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "")
if templ_7745c5c3_Err != nil {
@@ -3312,7 +3310,7 @@ func sinceYesterday(v SecurityView) templ.Component {
var templ_7745c5c3_Var176 string
templ_7745c5c3_Var176, templ_7745c5c3_Err = templ.JoinStringErrs(plural(len(v.Brief.Overdue), "upgrade", "upgrades") + " past deadline")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 657, Col: 127}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 654, Col: 127}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var176))
if templ_7745c5c3_Err != nil {
@@ -3325,7 +3323,7 @@ func sinceYesterday(v SecurityView) templ.Component {
var templ_7745c5c3_Var177 string
templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(overdueNames(v.Brief.Overdue, v.At))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 657, Col: 171}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 654, Col: 171}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177))
if templ_7745c5c3_Err != nil {
@@ -3344,7 +3342,7 @@ func sinceYesterday(v SecurityView) templ.Component {
var templ_7745c5c3_Var178 string
templ_7745c5c3_Var178, templ_7745c5c3_Err = templ.JoinStringErrs(plural(v.Brief.Waiting, "upgrade", "upgrades") + " fixing vulnerabilities")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 660, Col: 114}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 657, Col: 114}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var178))
if templ_7745c5c3_Err != nil {
@@ -3363,7 +3361,7 @@ func sinceYesterday(v SecurityView) templ.Component {
var templ_7745c5c3_Var179 string
templ_7745c5c3_Var179, templ_7745c5c3_Err = templ.JoinStringErrs(plural(len(v.Brief.Undeployed), "pull request", "pull requests") + " merged")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 663, Col: 117}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 660, Col: 117}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var179))
if templ_7745c5c3_Err != nil {
@@ -3416,7 +3414,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var181 string
templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(plural(len(blind), "image without an SBOM", "images without an SBOM"))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 674, Col: 78}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 671, Col: 78}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181))
if templ_7745c5c3_Err != nil {
@@ -3443,7 +3441,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var182 string
templ_7745c5c3_Var182, templ_7745c5c3_Err = templ.JoinStringErrs(b.Image)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 684, Col: 46}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 681, Col: 46}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var182))
if templ_7745c5c3_Err != nil {
@@ -3456,7 +3454,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var183 templ.SafeURL
templ_7745c5c3_Var183, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL(serviceURL(b.Service)))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 685, Col: 75}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 682, Col: 75}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var183))
if templ_7745c5c3_Err != nil {
@@ -3469,7 +3467,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var184 string
templ_7745c5c3_Var184, templ_7745c5c3_Err = templ.JoinStringErrs(b.Service)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 685, Col: 89}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 682, Col: 89}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var184))
if templ_7745c5c3_Err != nil {
@@ -3482,7 +3480,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var185 string
templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(b.Why)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 686, Col: 50}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 683, Col: 50}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185))
if templ_7745c5c3_Err != nil {
@@ -3495,7 +3493,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var186 templ.SafeURL
templ_7745c5c3_Var186, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("#sbom-" + sbomHow(b.Source)))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 687, Col: 86}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 684, Col: 86}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var186))
if templ_7745c5c3_Err != nil {
@@ -3508,7 +3506,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var187 string
templ_7745c5c3_Var187, templ_7745c5c3_Err = templ.JoinStringErrs(sbomHowLabel(sbomHow(b.Source)))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 687, Col: 122}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 684, Col: 122}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var187))
if templ_7745c5c3_Err != nil {
@@ -3532,7 +3530,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var188 string
templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs("and " + itoa(len(blind)-blindShown) + " more")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 695, Col: 79}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 692, Col: 79}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188))
if templ_7745c5c3_Err != nil {
@@ -3550,7 +3548,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var189 string
templ_7745c5c3_Var189, templ_7745c5c3_Err = templ.JoinStringErrs(sbomGitHub)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 700, Col: 59}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 697, Col: 59}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189))
if templ_7745c5c3_Err != nil {
@@ -3563,7 +3561,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var190 string
templ_7745c5c3_Var190, templ_7745c5c3_Err = templ.JoinStringErrs(sbomGitLab)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 705, Col: 59}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 702, Col: 59}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var190))
if templ_7745c5c3_Err != nil {
@@ -3576,7 +3574,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var191 string
templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(sbomBuildx)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 710, Col: 59}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 707, Col: 59}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191))
if templ_7745c5c3_Err != nil {
@@ -3589,7 +3587,7 @@ func sbomHelper(blind []versions.BlindImage) templ.Component {
var templ_7745c5c3_Var192 string
templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(sbomExisting)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 715, Col: 63}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 712, Col: 63}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192))
if templ_7745c5c3_Err != nil {
@@ -3634,7 +3632,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var194 string
templ_7745c5c3_Var194, templ_7745c5c3_Err = templ.JoinStringErrs("Time to patch in " + v.Prod.Name)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 729, Col: 42}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 726, Col: 42}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var194))
if templ_7745c5c3_Err != nil {
@@ -3655,7 +3653,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var195 string
templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.ResolveAttributeValue("Time to patch in " + v.Prod.Name + ", median days per month")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 732, Col: 123}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 729, Col: 123}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var195)
if templ_7745c5c3_Err != nil {
@@ -3673,7 +3671,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var196 string
templ_7745c5c3_Var196, templ_7745c5c3_Err = templ.ResolveAttributeValue(m.Month.Format("January 2006") + ": " + plural(m.Upgrades, "upgrade", "upgrades") + ", median " + days(m.Median) + ", 90th percentile " + days(m.P90))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 734, Col: 186}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 731, Col: 186}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var196)
if templ_7745c5c3_Err != nil {
@@ -3686,7 +3684,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var197 string
templ_7745c5c3_Var197, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues("height:" + itoa(monthBar(m.P90, most)) + "%")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 736, Col: 83}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 733, Col: 83}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197))
if templ_7745c5c3_Err != nil {
@@ -3699,7 +3697,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var198 string
templ_7745c5c3_Var198, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues("height:" + itoa(monthBar(m.Median, most)) + "%")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 737, Col: 89}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 734, Col: 89}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var198))
if templ_7745c5c3_Err != nil {
@@ -3713,7 +3711,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var199 string
templ_7745c5c3_Var199, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(m.Median))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 741, Col: 23}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 738, Col: 23}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199))
if templ_7745c5c3_Err != nil {
@@ -3726,7 +3724,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var200 string
templ_7745c5c3_Var200, templ_7745c5c3_Err = templ.JoinStringErrs(" " + dayWord(m.Median))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 741, Col: 69}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 738, Col: 69}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var200))
if templ_7745c5c3_Err != nil {
@@ -3749,7 +3747,7 @@ func patchChart(v SecurityView) templ.Component {
var templ_7745c5c3_Var201 string
templ_7745c5c3_Var201, templ_7745c5c3_Err = templ.JoinStringErrs(m.Month.Format("Jan") + " · " + itoa(m.Upgrades))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 746, Col: 63}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 743, Col: 63}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var201))
if templ_7745c5c3_Err != nil {
@@ -3810,7 +3808,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var203 templ.SafeURL
templ_7745c5c3_Var203, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/updates?team=" + url.QueryEscape(t.Owner)))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 766, Col: 93}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 763, Col: 93}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var203))
if templ_7745c5c3_Err != nil {
@@ -3823,7 +3821,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var204 string
templ_7745c5c3_Var204, templ_7745c5c3_Err = templ.JoinStringErrs(teamName(t.Owner))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 766, Col: 123}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 763, Col: 123}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var204))
if templ_7745c5c3_Err != nil {
@@ -3836,7 +3834,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var205 string
templ_7745c5c3_Var205, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(t.Services))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 767, Col: 62}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 764, Col: 62}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var205))
if templ_7745c5c3_Err != nil {
@@ -3849,7 +3847,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var206 string
templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(t.Behind))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 769, Col: 24}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 766, Col: 24}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206))
if templ_7745c5c3_Err != nil {
@@ -3867,7 +3865,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var207 string
templ_7745c5c3_Var207, templ_7745c5c3_Err = templ.JoinStringErrs(" · " + days(t.MedianBehind))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 771, Col: 61}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 768, Col: 61}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var207))
if templ_7745c5c3_Err != nil {
@@ -3890,7 +3888,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var208 templ.SafeURL
templ_7745c5c3_Var208, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/updates?due=over&team=" + url.QueryEscape(t.Owner)))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 776, Col: 100}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 773, Col: 100}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var208))
if templ_7745c5c3_Err != nil {
@@ -3903,7 +3901,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var209 string
templ_7745c5c3_Var209, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(t.Overdue))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 776, Col: 120}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 773, Col: 120}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var209))
if templ_7745c5c3_Err != nil {
@@ -3926,7 +3924,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var210 string
templ_7745c5c3_Var210, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(t.Patched))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 781, Col: 61}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 778, Col: 61}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var210))
if templ_7745c5c3_Err != nil {
@@ -3963,7 +3961,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var213 string
templ_7745c5c3_Var213, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues("height:" + itoa(monthBar(d, top)) + "%")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 787, Col: 111}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 784, Col: 111}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var213))
if templ_7745c5c3_Err != nil {
@@ -3982,7 +3980,7 @@ func teamsPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var214 string
templ_7745c5c3_Var214, templ_7745c5c3_Err = templ.JoinStringErrs(days(t.MedianPatch))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 791, Col: 31}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 788, Col: 31}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var214))
if templ_7745c5c3_Err != nil {
@@ -4046,7 +4044,7 @@ func securityNav(v SecurityView) templ.Component {
var templ_7745c5c3_Var217 templ.SafeURL
templ_7745c5c3_Var217, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("#" + l.ID))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 809, Col: 34}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 806, Col: 34}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var217))
if templ_7745c5c3_Err != nil {
@@ -4072,7 +4070,7 @@ func securityNav(v SecurityView) templ.Component {
var templ_7745c5c3_Var219 string
templ_7745c5c3_Var219, templ_7745c5c3_Err = templ.JoinStringErrs(l.Label)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 810, Col: 13}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 807, Col: 13}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var219))
if templ_7745c5c3_Err != nil {
@@ -4090,7 +4088,7 @@ func securityNav(v SecurityView) templ.Component {
var templ_7745c5c3_Var220 string
templ_7745c5c3_Var220, templ_7745c5c3_Err = templ.JoinStringErrs(l.Note)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 812, Col: 20}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 809, Col: 20}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var220))
if templ_7745c5c3_Err != nil {
@@ -4157,7 +4155,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var222 templ.SafeURL
templ_7745c5c3_Var222, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/security/vulns?q=" + f.Key))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 833, Col: 84}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 830, Col: 84}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var222))
if templ_7745c5c3_Err != nil {
@@ -4170,7 +4168,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var223 string
templ_7745c5c3_Var223, templ_7745c5c3_Err = templ.JoinStringErrs(f.Key)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 833, Col: 102}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 830, Col: 102}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var223))
if templ_7745c5c3_Err != nil {
@@ -4183,7 +4181,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var224 string
templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(placesText(f.Affected))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 834, Col: 36}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 831, Col: 36}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var224))
if templ_7745c5c3_Err != nil {
@@ -4201,7 +4199,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var225 string
templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(" " + m.Where + ": " + m.Measure + " (review " + m.Review + ")")
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 837, Col: 119}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 834, Col: 119}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var225))
if templ_7745c5c3_Err != nil {
@@ -4220,7 +4218,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var226 string
templ_7745c5c3_Var226, templ_7745c5c3_Err = templ.JoinStringErrs(" " + placesText(places))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 842, Col: 37}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 839, Col: 37}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var226))
if templ_7745c5c3_Err != nil {
@@ -4256,7 +4254,7 @@ func noFixPanel(v SecurityView) templ.Component {
var templ_7745c5c3_Var229 string
templ_7745c5c3_Var229, templ_7745c5c3_Err = templ.JoinStringErrs(" · by " + due.Format("2 Jan 2006"))
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 844, Col: 117}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `security.templ`, Line: 841, Col: 117}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var229))
if templ_7745c5c3_Err != nil {
diff --git a/internal/ui/service.templ b/internal/ui/service.templ
index a8b23c6b..80ffe502 100644
--- a/internal/ui/service.templ
+++ b/internal/ui/service.templ
@@ -1072,7 +1072,7 @@ templ gitOpsPanel(apps []GitOpsView, canEdit, all bool) {
{ orDash(a.Revision) }
}
if a.CompareURL != "" {
-
+ changes{ " " }@timeAgo(a.RevisionAt)
}
diff --git a/internal/ui/service_templ.go b/internal/ui/service_templ.go
index 59c1648d..57d0499f 100644
--- a/internal/ui/service_templ.go
+++ b/internal/ui/service_templ.go
@@ -5142,6 +5142,15 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
+ var templ_7745c5c3_Var267 string
+ templ_7745c5c3_Var267, templ_7745c5c3_Err = templ.JoinStringErrs(" ")
+ if templ_7745c5c3_Err != nil {
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1075, Col: 171}
+ }
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var267))
+ if templ_7745c5c3_Err != nil {
+ return templ_7745c5c3_Err
+ }
templ_7745c5c3_Err = timeAgo(a.RevisionAt).Render(ctx, templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
@@ -5156,8 +5165,8 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
return templ_7745c5c3_Err
}
if a.Sync != "" {
- var templ_7745c5c3_Var267 = []any{"badge", syncBadge(a.Sync)}
- templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var267...)
+ var templ_7745c5c3_Var268 = []any{"badge", syncBadge(a.Sync)}
+ templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var268...)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5165,12 +5174,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var268 string
- templ_7745c5c3_Var268, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var267).String())
+ var templ_7745c5c3_Var269 string
+ templ_7745c5c3_Var269, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var268).String())
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1, Col: 0}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var268)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var269)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5178,12 +5187,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var269 string
- templ_7745c5c3_Var269, templ_7745c5c3_Err = templ.JoinStringErrs(a.Sync)
+ var templ_7745c5c3_Var270 string
+ templ_7745c5c3_Var270, templ_7745c5c3_Err = templ.JoinStringErrs(a.Sync)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1081, Col: 61}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var269))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var270))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5193,8 +5202,8 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
}
}
if a.Health != "" {
- var templ_7745c5c3_Var270 = []any{"badge", syncBadge(a.Health)}
- templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var270...)
+ var templ_7745c5c3_Var271 = []any{"badge", syncBadge(a.Health)}
+ templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var271...)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5202,12 +5211,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var271 string
- templ_7745c5c3_Var271, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var270).String())
+ var templ_7745c5c3_Var272 string
+ templ_7745c5c3_Var272, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var271).String())
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1, Col: 0}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var271)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var272)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5215,12 +5224,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var272 string
- templ_7745c5c3_Var272, templ_7745c5c3_Err = templ.JoinStringErrs(a.Health)
+ var templ_7745c5c3_Var273 string
+ templ_7745c5c3_Var273, templ_7745c5c3_Err = templ.JoinStringErrs(a.Health)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1084, Col: 65}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var272))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var273))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5234,12 +5243,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var273 string
- templ_7745c5c3_Var273, templ_7745c5c3_Err = templ.ResolveAttributeValue(a.SyncWindow)
+ var templ_7745c5c3_Var274 string
+ templ_7745c5c3_Var274, templ_7745c5c3_Err = templ.ResolveAttributeValue(a.SyncWindow)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1087, Col: 70}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var273)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var274)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5253,12 +5262,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var274 string
- templ_7745c5c3_Var274, templ_7745c5c3_Err = templ.ResolveAttributeValue("Argo CD syncs " + a.App + " only when someone syncs it: a merged change waits for that")
+ var templ_7745c5c3_Var275 string
+ templ_7745c5c3_Var275, templ_7745c5c3_Err = templ.ResolveAttributeValue("Argo CD syncs " + a.App + " only when someone syncs it: a merged change waits for that")
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1090, Col: 146}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var274)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var275)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5295,12 +5304,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var275 string
- templ_7745c5c3_Var275, templ_7745c5c3_Err = templ.ResolveAttributeValue(a.Path + " on " + a.TargetRevision + " pins " + a.GitPins + "; " + a.Tag + " runs: the change has not been synced")
+ var templ_7745c5c3_Var276 string
+ templ_7745c5c3_Var276, templ_7745c5c3_Err = templ.ResolveAttributeValue(a.Path + " on " + a.TargetRevision + " pins " + a.GitPins + "; " + a.Tag + " runs: the change has not been synced")
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1099, Col: 153}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var275)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var276)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5308,12 +5317,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var276 string
- templ_7745c5c3_Var276, templ_7745c5c3_Err = templ.JoinStringErrs(a.GitPins)
+ var templ_7745c5c3_Var277 string
+ templ_7745c5c3_Var277, templ_7745c5c3_Err = templ.JoinStringErrs(a.GitPins)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1099, Col: 195}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var276))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var277))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5321,12 +5330,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var277 string
- templ_7745c5c3_Var277, templ_7745c5c3_Err = templ.JoinStringErrs(a.Tag)
+ var templ_7745c5c3_Var278 string
+ templ_7745c5c3_Var278, templ_7745c5c3_Err = templ.JoinStringErrs(a.Tag)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1099, Col: 237}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var277))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var278))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5340,12 +5349,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var278 templ.SafeURL
- templ_7745c5c3_Var278, templ_7745c5c3_Err = templ.JoinURLErrs(safeLink(a.PRURL))
+ var templ_7745c5c3_Var279 templ.SafeURL
+ templ_7745c5c3_Var279, templ_7745c5c3_Err = templ.JoinURLErrs(safeLink(a.PRURL))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1102, Col: 54}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var278))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var279))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5353,12 +5362,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var279 string
- templ_7745c5c3_Var279, templ_7745c5c3_Err = templ.ResolveAttributeValue(othersTitle(a.PRTitle))
+ var templ_7745c5c3_Var280 string
+ templ_7745c5c3_Var280, templ_7745c5c3_Err = templ.ResolveAttributeValue(othersTitle(a.PRTitle))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1102, Col: 118}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var279)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var280)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5366,12 +5375,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var280 string
- templ_7745c5c3_Var280, templ_7745c5c3_Err = templ.JoinStringErrs(pullLabel(a.To, a.PRState))
+ var templ_7745c5c3_Var281 string
+ templ_7745c5c3_Var281, templ_7745c5c3_Err = templ.JoinStringErrs(pullLabel(a.To, a.PRState))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1102, Col: 149}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var280))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var281))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5388,12 +5397,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var281 templ.SafeURL
- templ_7745c5c3_Var281, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/services/" + url.PathEscape(a.Service) + "/gitops/preview?" + previewQuery(a.TargetID, a.WorkloadID, a.To, gitOpsReturn(all))))
+ var templ_7745c5c3_Var282 templ.SafeURL
+ templ_7745c5c3_Var282, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/services/" + url.PathEscape(a.Service) + "/gitops/preview?" + previewQuery(a.TargetID, a.WorkloadID, a.To, gitOpsReturn(all))))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1104, Col: 192}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var281))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var282))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5401,12 +5410,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var282 string
- templ_7745c5c3_Var282, templ_7745c5c3_Err = templ.ResolveAttributeValue("See the pull request that pins " + a.To + " in " + a.Path + " before opening it")
+ var templ_7745c5c3_Var283 string
+ templ_7745c5c3_Var283, templ_7745c5c3_Err = templ.ResolveAttributeValue("See the pull request that pins " + a.To + " in " + a.Path + " before opening it")
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1104, Col: 284}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var282)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var283)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5414,12 +5423,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var283 string
- templ_7745c5c3_Var283, templ_7745c5c3_Err = templ.JoinStringErrs(a.To)
+ var templ_7745c5c3_Var284 string
+ templ_7745c5c3_Var284, templ_7745c5c3_Err = templ.JoinStringErrs(a.To)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1104, Col: 305}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var283))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var284))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5433,12 +5442,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var284 templ.SafeURL
- templ_7745c5c3_Var284, templ_7745c5c3_Err = templ.JoinURLErrs(safeLink(a.RollbackPRURL))
+ var templ_7745c5c3_Var285 templ.SafeURL
+ templ_7745c5c3_Var285, templ_7745c5c3_Err = templ.JoinURLErrs(safeLink(a.RollbackPRURL))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1107, Col: 62}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var284))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var285))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5446,12 +5455,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var285 string
- templ_7745c5c3_Var285, templ_7745c5c3_Err = templ.JoinStringErrs(a.Rollback)
+ var templ_7745c5c3_Var286 string
+ templ_7745c5c3_Var286, templ_7745c5c3_Err = templ.JoinStringErrs(a.Rollback)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1107, Col: 124}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var285))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var286))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5464,12 +5473,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var286 templ.SafeURL
- templ_7745c5c3_Var286, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/services/" + url.PathEscape(a.Service) + "/gitops/preview?" + previewQuery(a.TargetID, a.WorkloadID, a.Rollback, gitOpsReturn(all))))
+ var templ_7745c5c3_Var287 templ.SafeURL
+ templ_7745c5c3_Var287, templ_7745c5c3_Err = templ.JoinURLErrs(templ.URL("/services/" + url.PathEscape(a.Service) + "/gitops/preview?" + previewQuery(a.TargetID, a.WorkloadID, a.Rollback, gitOpsReturn(all))))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1109, Col: 207}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var286))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var287))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5477,12 +5486,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var287 string
- templ_7745c5c3_Var287, templ_7745c5c3_Err = templ.ResolveAttributeValue("Why: " + a.RollbackWhy + ". See the pull request that pins " + a.Rollback + " again before opening it.")
+ var templ_7745c5c3_Var288 string
+ templ_7745c5c3_Var288, templ_7745c5c3_Err = templ.ResolveAttributeValue("Why: " + a.RollbackWhy + ". See the pull request that pins " + a.Rollback + " again before opening it.")
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1109, Col: 322}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var287)
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var288)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5490,12 +5499,12 @@ func gitOpsPanel(apps []GitOpsView, canEdit, all bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var288 string
- templ_7745c5c3_Var288, templ_7745c5c3_Err = templ.JoinStringErrs(a.Rollback)
+ var templ_7745c5c3_Var289 string
+ templ_7745c5c3_Var289, templ_7745c5c3_Err = templ.JoinStringErrs(a.Rollback)
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `service.templ`, Line: 1109, Col: 353}
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var288))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var289))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -5534,21 +5543,21 @@ func serviceMitigationForm(service string, f ServiceFinding) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Var289 := templ.GetChildren(ctx)
- if templ_7745c5c3_Var289 == nil {
- templ_7745c5c3_Var289 = templ.NopComponent
+ templ_7745c5c3_Var290 := templ.GetChildren(ctx)
+ if templ_7745c5c3_Var290 == nil {
+ templ_7745c5c3_Var290 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 556, "Record a mitigation |