Commit 29835530 authored by Christophe Benz's avatar Christophe Benz

fixup!

parent 001e8825
Pipeline #166049 passed with stage
in 2 minutes and 49 seconds
......@@ -84,7 +84,7 @@
<td>
{% for schedule, problems in fetcher.schedules %}
<a href="{{ schedule_url(args.gitlab_base_url, fetcher.project, schedule) }}" data-toggle="tooltip" data-html="true" data-placement="auto" title="{{ schedule_tooltip(schedule, problems) }}">
<i class="fas {{ 'fa-exclamation text-danger' if problems is not none else 'fa-times text-warning' if not schedule.active else 'fa-check text-success' }}"></i>
<i class="fas {{ 'fa-exclamation text-danger' if problems else 'fa-times text-warning' if not schedule.active else 'fa-check text-success' }}"></i>
</a>
{% else %}
<a href="{{ schedule_url(args.gitlab_base_url, fetcher.project) }}" data-toggle="tooltip" data-placement="auto" title="No schedule defined">
......
......@@ -6,7 +6,7 @@
{% endmacro %}
{% macro schedule_tooltip(schedule, problems) %}
{% if problems is not none %}
{% if problems %}
problems: {{ ", ".join(problems) }}
<br>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment