Skip to content

Commit

Permalink
Make provenance heading conditional (#17077)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Nov 13, 2024
1 parent 932cbbd commit 5adebeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions warehouse/templates/includes/file-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ <h3>File hashes</h3>
</p>
</div>

<h3>Provenance</h3>

{% if file.provenance %}
<h3>Provenance</h3>
{% set provenance = file.provenance.as_model %}
<p>
The following attestation bundles were made for <code>{{ file.filename }}</code>:
Expand Down

0 comments on commit 5adebeb

Please sign in to comment.