{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Projects Dashboard - Pychestrate{% endblock %} {% block content %}
What needs attention first, then your projects and their latest runs
| Run | Project | State | When |
|---|---|---|---|
| {{ run.name or run.kind }}{% if run.name %} {{ run.kind }}{% endif %} | {% if run.project_legacy_id %}{{ run.project_name }}{% else %}{{ run.project_name }}{% endif %} | {{ run.state_label }} | {{ run.at | format_datetime('%Y-%m-%d %H:%M', '') }} |
Nothing needs attention: no run has failed in the last 7 days.
{% else %}No runs yet. Runs appear here when a test, build or job runs in one of your projects; start from the Test catalog.
{% endif %}Projects with runs that need attention (failed, lost or needing a look in the last 7 days) are listed first.
{% endif %}| Name | Description | Owner | Last Activity | Last run | Actions |
|---|---|---|---|---|---|
| {{ project.name }} | {{ project.description[:50] }}{% if project.description|length > 50 %}...{% endif %} | {{ project.owner_username }} | {{ project.last_activity_at | format_datetime('%Y-%m-%d %H:%M', '—') }} |
{% set last = dashboard_last_runs.get(project.id) %}
{% if last %}
{{ last.state_label }}
{{ last.at | format_datetime('%Y-%m-%d %H:%M', '') }}
{% else %}
—
{% endif %}
{% set needing = dashboard_attention_counts.get(project.id, 0) %}
{% if needing %}
{{ needing }} {{ 'needs' if needing == 1 else 'need' }} attention
{% endif %}
|
View |
Showing {{ projects | length }} of {{ project_total }} projects. View all {{ project_total }}
{% endif %} {% else %}No projects yet. Create your first project
{% endif %}| Run | Project | State | When |
|---|---|---|---|
| {{ run.name or run.kind }}{% if run.name %} {{ run.kind }}{% endif %} | {% if run.project_legacy_id %}{{ run.project_name }}{% else %}{{ run.project_name }}{% endif %} | {{ run.state_label }} | {{ run.at | format_datetime('%Y-%m-%d %H:%M', '') }} |
| Build | Specification | Project | Status | Created |
|---|---|---|---|---|
| #{{ build.id }} | {{ build.spec_name }} | {{ dashboard_project_names.get(build.project_id) or ('Project ' ~ build.project_id) }} | {{ ui.status_badge(build.status) }} | {{ build.created_at | format_datetime('%Y-%m-%d %H:%M', '') }} |
| Job | Specification | Project | Status | Created |
|---|---|---|---|---|
| #{{ test.id }} | {{ test.spec_name }} | {{ dashboard_project_names.get(test.project_id) or ('Project ' ~ test.project_id) }} | {{ ui.status_badge(test.status) }} | {{ test.created_at | format_datetime('%Y-%m-%d %H:%M', '') }} |