mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Fix store dashboard broken if an app doesn't have CI results on bulleye or bookworm
This commit is contained in:
parent
fb403ad617
commit
504fa9ea6a
1 changed files with 3 additions and 3 deletions
|
@ -132,14 +132,14 @@
|
|||
</a>
|
||||
</td>
|
||||
<td class="border-l-2 border-gray-100 text-center">
|
||||
<a class="{% if infos["public_level"] == infos["ci_results"]["main"]["level"] or infos["ci_results"]["main"]["timestamp"] | days_ago > 30 %}opacity-50{% endif %}" href="https://ci-apps.yunohost.org/ci/apps/{{ app }}/">
|
||||
<a class="{% if infos["public_level"] == infos["ci_results"]["main"]["level"] or (infos["ci_results"]["main"]["timestamp"] or -9999) | days_ago > 30 %}opacity-50{% endif %}" href="https://ci-apps.yunohost.org/ci/apps/{{ app }}/">
|
||||
{% if infos["public_level"] == infos["ci_results"]["main"]["level"] %}
|
||||
=
|
||||
{% else %}
|
||||
{{ infos["ci_results"]["main"]["level"] }}
|
||||
{% endif %}
|
||||
{% if infos["ci_results"]["main"]["timestamp"] | days_ago > 30 %}
|
||||
<i class="fa fa-hourglass-o" title="{{ _("Outdated test (%(days)s days ago)", days=infos["ci_results"]["main"]["timestamp"] | days_ago) }}"></i>
|
||||
{% if (infos["ci_results"]["main"]["timestamp"] or -9999) | days_ago > 30 %}
|
||||
<i class="fa fa-hourglass-o" title="{{ _("Outdated test (%(days)s days ago)", days=(infos["ci_results"]["main"]["timestamp"] or -9999) | days_ago) }}"></i>
|
||||
{% endif %}
|
||||
{% if infos["public_level"] == "?" %}
|
||||
{% elif infos["ci_results"]["main"]["level"] < infos["public_level"] and infos["ci_results"]["main"]["level"] == 0 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue