{% extends "base.html" %} {% block main %}

Hops

{% if error %}

The hops file could not be read: {{ error }}

{% endif %} {% if not cards %}

No hop is yours to see. You are signed in as {{ me.id }}{% if me.groups %}, in {{ me.groups|join(", ") }}{% endif %}; an admin gives roles in the hops file's access.

{% endif %}
{% for c in cards %}

{{ c.name }} {{ c.role }}

{{ c.route }}

{{ c.engine }} goal {{ c.goal }} {% if c.verdict %}{{ c.verdict }}{% else %}not checked yet{% endif %}

{% if c.running %}{{ c.running|length }} run{{ "s" if c.running|length > 1 }} going on. {% endif %} {% if c.approvals %}{{ c.approvals }} waiting for approval. {% endif %} {% if c.offers %}{{ c.offers }} change{{ "s" if c.offers > 1 }} on the source offered. {% endif %} {% if c.checked %}Last checked {{ c.checked }}.{% endif %}

{% endfor %}
{% endblock %}