From 5adebeb5438e71e25aa91f332a9930dc2cc97ecb Mon Sep 17 00:00:00 2001
From: Dustin Ingram
Date: Wed, 13 Nov 2024 16:45:22 -0700
Subject: [PATCH] Make provenance heading conditional (#17077)
---
warehouse/templates/includes/file-details.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/warehouse/templates/includes/file-details.html b/warehouse/templates/includes/file-details.html
index d636e61501a1..1fdeb30d5215 100644
--- a/warehouse/templates/includes/file-details.html
+++ b/warehouse/templates/includes/file-details.html
@@ -97,9 +97,8 @@ File hashes
- Provenance
-
{% if file.provenance %}
+ Provenance
{% set provenance = file.provenance.as_model %}
The following attestation bundles were made for {{ file.filename }}
: