CLOUDKIT SYNC REPORT
====================

Configuration: {{ job.configuration.name }} ({{ job.configuration.environment }})
Status: {{ job.status|upper }}
Duration: {{ job.duration_display }}

{% if job.status == 'completed' %}
SUMMARY
-------
Records Synced:  {{ job.records_synced }}
Created:         {{ job.records_created }}
Updated:         {{ job.records_updated }}
Deleted:         {{ job.records_deleted }}
{% if job.records_failed %}Failed:          {{ job.records_failed }}{% endif %}
{% else %}
ERROR
-----
{{ job.error_message }}
{% endif %}

---
SportsTime CloudKit Sync | Job #{{ job.id }} | {{ job.finished_at|date:"Y-m-d H:i" }} UTC
