{% for task in tasks | sort(reverse=True, attribute='updatetime') %}
  1. {% if task.status %} {{ status_to_string(task.status) }} {% elif task.track %} {%- if task.track.fetch and not task.track.fetch.ok -%} FETCH_ERROR {%- elif task.track.process and not task.track.process.ok -%} PROCESS_ERROR {%- endif -%} {% else %} ERROR {% endif %} {{ task.project }} > {{ task.url }} {{ task.updatetime | format_date }} {% if task.track and task.track.fetch %} {% set use_time = task.track.fetch.time + task.track.process.time if task.track and task.track.process else 0%} {{ '%.2f' | format(use_time * 1000) }}ms {% endif %} {% if task.track and task.track.process %} +{{ task.track.process.follows | int }} {% endif %}
  2. {% endfor %}