Skip to content

Commit 5c0cd84

Browse files
authored
feat(admin): add direct link to inspector for file (#17889)
Signed-off-by: Mike Fiedler <[email protected]>
1 parent f46ff91 commit 5c0cd84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

warehouse/admin/templates/admin/projects/release_detail.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ <h3>Files</h3>
8383
<th>Python Version</th>
8484
<th>Uploaded via</th>
8585
<th>Trusted Publisher?</th>
86+
<th>Inspector</th>
8687
</tr>
8788
</thead>
8889
<tbody>
@@ -99,6 +100,9 @@ <h3>Files</h3>
99100
<i class="fa fa-fw fa-times text-red"></i>
100101
{% endif %}
101102
</td>
103+
<td>
104+
<a href="https://inspector.pypi.io/project/{{ release.project.normalized_name }}/{{ release.version }}/packages/{{ file.path }}/">🕵️</a>
105+
</td>
102106
</tr>
103107
{% endfor %}
104108
</tbody>

0 commit comments

Comments
 (0)