do not render failed packages in jinja (#57)

basic templates require package info which is unavailable if package
wasn't built
This commit is contained in:
2022-04-09 17:31:13 +03:00
parent 53df735eb2
commit 25734876de
5 changed files with 5 additions and 19 deletions

View File

@ -1,5 +1,4 @@
{#simplified version of full report#}
<b>{{ repository }} update</b>
{% for package in packages %}
<a href="{{ link_path }}/{{ package.filename }}">{{ package.name }}</a> {{ package.version }} at {{ package.build_date }}
{% endfor %}
<a href="{{ link_path }}/{{ package.filename }}">{{ package.name }}</a> {{ package.version }}{% endfor %}