mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: only try to show dependencies if object exists
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
4d0a982c51
commit
0e44687ab1
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
<h3>{{ "Required by" | tr }} ({{ reqs_count }})</h3>
|
||||
<ul id="pkgreqslist">
|
||||
{% for dep in required_by %}
|
||||
{% if dep is not none %}
|
||||
<li>
|
||||
<a href="{{ dep.Package | package_link }}">
|
||||
{{ dep.Package.Name }}
|
||||
|
@ -61,6 +62,7 @@
|
|||
|
||||
<em>{{ dep | dep_extra }}</em>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if not all_reqs and reqs_count > max_listing %}
|
||||
<li>
|
||||
|
|
Loading…
Add table
Reference in a new issue