feat(fastapi): add id="licenses" to package details licenses

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-11 19:55:04 -08:00
parent 7aa959150e
commit 686c032290
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 17 additions and 1 deletions

View file

@ -64,7 +64,7 @@
</tr>
{% endif %}
{% if show_package_details and licenses and licenses.count() %}
<tr>
<tr id="licenses">
<th>{{ "Licenses" | tr }}:</th>
<td>{{ licenses.all() | join(', ', attribute='License.Name') }} </td>
</tr>