{{ if .Manifest.Tags }}
{{ range $i, $tag := .Manifest.Tags }}{{ if $i }}{{ if lt $i 3 }}, {{ end }}{{ end }}{{ if lt $i 3 }}{{ $tag }}{{ end }}{{ end }}{{ if gt (len .Manifest.Tags) 3 }} +{{ sub (len .Manifest.Tags) 3 }} more{{ end }}
{{ else }}{{ truncateDigest (trimPrefix "sha256:" .Manifest.Digest) 16 }}
{{ end }} {{ if .Manifest.IsManifestList }} Multi-arch {{ else if eq .Manifest.ArtifactType "helm-chart" }} {{ icon "helm" "size-3" }} Helm {{ end }} {{ if .Manifest.HasAttestations }} {{ icon "shield-check" "size-3" }} Attested {{ end }}{{ truncateDigest (trimPrefix "sha256:" .Manifest.Digest) 16 }}
{{ icon "history" "size-4" }}{{ timeAgoShort .Manifest.CreatedAt }}
{{ if .Manifest.IsManifestList }}
{{ if .Manifest.Platforms }}
{{ icon "loader" "size-6 animate-spin text-base-content/40" }}
Loading layers and vulnerabilities...
{{ end }}
{{ else }}
{{ template "digest-content" . }}
{{ end }}