{# Repo error section — expects: repo (RepoState) #} {% if repo.status.value in ('failed', 'degraded') and repo.error_message %}