From 4b00485a8b5c6b13ccf5b390fd56b46f500bca0d Mon Sep 17 00:00:00 2001 From: ashmod Date: Thu, 6 Aug 2026 01:13:47 +0300 Subject: [PATCH] collapse database-specific section by default --- .../src/go/templates/vulnerability.html | 18 ++++++++++++++++-- .../frontend3/src/templates/vulnerability.html | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/gcp/website/frontend3/src/go/templates/vulnerability.html b/gcp/website/frontend3/src/go/templates/vulnerability.html index 472ab7a520c..bd66e63b06a 100644 --- a/gcp/website/frontend3/src/go/templates/vulnerability.html +++ b/gcp/website/frontend3/src/go/templates/vulnerability.html @@ -267,7 +267,14 @@

Affected ranges -
{{ .DatabaseSpecificJSON }}
+
+
+ Show details +
+
{{ .DatabaseSpecificJSON }}
+
+
+
{{ end }} {{ end }} @@ -432,7 +439,14 @@

-
{{ .DatabaseSpecificJSON }}
+
+
+ Show details +
+
{{ .DatabaseSpecificJSON }}
+
+
+
{{ end }} {{ end }} diff --git a/gcp/website/frontend3/src/templates/vulnerability.html b/gcp/website/frontend3/src/templates/vulnerability.html index d1faee2eecb..8713e985e84 100644 --- a/gcp/website/frontend3/src/templates/vulnerability.html +++ b/gcp/website/frontend3/src/templates/vulnerability.html @@ -275,7 +275,14 @@

Affected ranges -
{{ range.database_specific | display_json }}
+
+
+ Show details +
+
{{ range.database_specific | display_json }}
+
+
+
{%- endif -%} {% endfor -%} @@ -456,7 +463,14 @@

-
{{ range.database_specific | display_json }}
+
+
+ Show details +
+
{{ range.database_specific | display_json }}
+
+
+
{%- endif -%} {% endfor -%}