feat(fastapi): add Replaces field to package details

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-11 19:14:08 -08:00
parent 50a9690c2d
commit a33e9bd571
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 25 additions and 2 deletions

View file

@ -85,6 +85,14 @@
</td>
</tr>
{% endif %}
{% if show_package_details and replaces and replaces.count() %}
<tr id="replaces">
<th>{{ "Replaces" | tr }}:</th>
<td class="wrap">
{{ replaces.all() | join(', ', attribute='RelName') }}
</td>
</tr>
{% endif %}
<tr>
<th>{{ "Submitter" | tr }}:</th>
<td>