{% extends "base.html" %}
{% block title %}{% if counts.error %}({{ counts.error }}) {% endif %}gitops-watcher{% endblock %}
{% block content %}
{% else %}
{% for r in rows %}
{% set warn = r.missing_env and r.status != 'error' and not r.busy %}
repo status commit last check last deploy
actions
{% if r.status == 'error' and r.error and not r.busy %}
{% if r.busy %}
queued · {{ r.busy }}
{% elif r.status == 'new' %}
waiting
{% else %}
{{ r.status }}
{% endif %}
{% if warn %}⚠ .env{% endif %}
{% if r.commit %}{{ r.commit }}{% else %}-{% endif %}
{{ r.last_check|ago }}
{{ r.last_deploy|ago }}
{% if r.busy != 'add' %}
{% endif %}
{% if warn %}
└─ {{ r.error }}
{% endif %}
{% endfor %}
└─ .env is missing {{ r.missing_env|length }} key{{ 's' if r.missing_env|length > 1 }} from .env.example:
{% for k in r.missing_env %} {{ k }}{{ ", " if not loop.last }}{% endfor %}