feat: Indicate dependency source

Dependencies might reside in the AUR or official repositories.
Add "AUR" as superscript letters to indicate if a package/provider
is present in the AUR.

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-09-03 14:17:11 +02:00
parent 1433553c05
commit 0a7b02956f
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
5 changed files with 72 additions and 7 deletions

View file

@ -14,12 +14,15 @@
<a href="{{ dep.DepName | pkgname_link }}">
{% endif %}
{{ dep.DepName }}
{% if broken %}
{%- if broken %}
{% if not provides %}
</span>
{% endif %}
{% else %}
{% else -%}
</a>
{%- if dep.is_aur_package() -%}
ᴬᵁᴿ
{% endif %}
{% endif %}
{% if provides %}