feat(fastapi): add Provides field in package details

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

View file

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