Skip to content

Commit 5c61eb5

Browse files
authored
Prioritise Sigstore over GPG in downloads table (#2783)
1 parent b569dc8 commit 5c61eb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/downloads/release_detail.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ <h1 class="page-title">Files</h1>
5252
<th>Description</th>
5353
<th>MD5 Sum</th>
5454
<th>File Size</th>
55-
{% if release_files|has_gpg %}
56-
<th><a href="https://www.python.org/downloads/#gpg">GPG</a></th>
57-
{% endif %}
5855
{% if release_files|has_sigstore_materials %}
5956
<th colspan="2"><a href="https://www.python.org/download/sigstore/">Sigstore</a></th>
6057
{% endif %}
6158
{% if release_files|has_sbom %}
6259
<th><a href="https://www.python.org/download/sbom/">SBOM</a></th>
6360
{% endif %}
61+
{% if release_files|has_gpg %}
62+
<th><a href="https://www.python.org/downloads/#gpg">GPG</a></th>
63+
{% endif %}
6464
</tr>
6565
</thead>
6666
<tbody>
@@ -71,9 +71,6 @@ <h1 class="page-title">Files</h1>
7171
<td>{{ f.description }}</td>
7272
<td>{{ f.md5_sum }}</td>
7373
<td>{{ f.filesize|filesizeformat }}</td>
74-
{% if release_files|has_gpg %}
75-
<td>{% if f.gpg_signature_file %}<a href="{{ f.gpg_signature_file }}">SIG</a>{% endif %}</td>
76-
{% endif %}
7774
{% if release_files|has_sigstore_materials %}
7875
{% if f.sigstore_bundle_file %}
7976
<td colspan="2">{% if f.sigstore_bundle_file %}<a href="{{ f.sigstore_bundle_file}}">.sigstore</a>{% endif %}</td>
@@ -85,6 +82,9 @@ <h1 class="page-title">Files</h1>
8582
{% if release_files|has_sbom %}
8683
<td>{% if f.sbom_spdx2_file %}<a href="{{ f.sbom_spdx2_file }}">SPDX</a>{% endif %}</td>
8784
{% endif %}
85+
{% if release_files|has_gpg %}
86+
<td>{% if f.gpg_signature_file %}<a href="{{ f.gpg_signature_file }}">SIG</a>{% endif %}</td>
87+
{% endif %}
8888
</tr>
8989
{% endfor %}
9090
</tbody>

0 commit comments

Comments
 (0)