{% extends "base.html" %} {% block title %}{{ project.name }} - figma-audit{% endblock %} {% block content %}
{{ runs | length }}
Runs
{{ screens_count }}
Figma screens
{% if last_stats %}
{{ last_stats.by_severity.critical or 0 }}
Critical
{{ last_stats.by_severity.important or 0 }}
Important
{{ last_stats.by_severity.minor or 0 }}
Minor
{% endif %}

Run history

{% if not runs %}

No runs yet. Start your first audit.

{% else %}
{% for run in runs %}
Run #{{ run.id }} {{ run.status }} {% if run.current_phase and run.status == 'running' %} {{ run.current_phase }} {% endif %}
{{ run.created_at[:16] }}
{% if run.stats %}
{{ run.stats.total_discrepancies or 0 }} discrepancies ({{ run.stats.by_severity.critical or 0 }}C / {{ run.stats.by_severity.important or 0 }}I / {{ run.stats.by_severity.minor or 0 }}m)
{% endif %} {% if run.error %}
{{ run.error[:100] }}
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}