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