{# Run notification email template Context variables: - job: Job object - run: Run object - status_info: Dict with title, user_message, action, color - run_url: URL to view run details - success_count: (optional) Number of successfully processed items #} {% extends "invenio_jobs/emails/base.html" %} {% block content %}

{{ status_info.user_message }}

{{ status_info.action }}

{% if run.status.name == "PARTIAL_SUCCESS" and run.errored_entries and run.total_entries %}

Summary

{% endif %}
View Full Details
Technical Details (click to expand) {% if run.started_at %} {% endif %} {% if run.finished_at %} {% endif %} {% if (run.status.name == "FAILED" or run.status.name == "PARTIAL_SUCCESS") and run.failed_subtasks %} {% endif %}
Status: {{ run.status.name }}
Run ID: {{ run.id }}
Job ID: {{ job.id }}
Started at: {{ run.started_at }}
Finished at: {{ run.finished_at }}
Failed subtasks: {{ run.failed_subtasks }} of {{ run.total_subtasks }}
{% if run.message %}

Error Details:

{{ run.message }}
{% endif %}
{% endblock content %}