mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): reorganize licenses display
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
20f5519b99
commit
2dc6cfec23
1 changed files with 2 additions and 2 deletions
|
@ -63,10 +63,10 @@
|
|||
{% endif %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if licenses and licenses.count() and show_package_details %}
|
||||
{% if show_package_details and licenses and licenses.count() %}
|
||||
<tr>
|
||||
<th>{{ "Licenses" | tr }}:</th>
|
||||
<td>{{ licenses | join(', ', attribute='Name') | default('None' | tr) }} </td>
|
||||
<td>{{ licenses.all() | join(', ', attribute='Name') | default('None' | tr) }} </td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if show_package_details %}
|
||||
|
|
Loading…
Add table
Reference in a new issue