+
+
+ {job.name || job.id}
+
+ {status.label}
+ {job.delete_after_run ? (
+ {tx("settings.automations.oneShot", "One-time")}
+ ) : null}
+
+
+ {job.payload.message || tx("settings.automations.systemTask", "System-managed automation")}
+
+
+
+
+ {formatAutomationSchedule(job, locale, tx)}
+
+
+ {formatAutomationNext(job, tx)}
+
+
+ {formatAutomationLast(job, locale, tx)}
+
+
+ {job.origin?.session_key ? (
+
+ {origin}
+
+
+ ) : (
+ origin
+ )}
+
+
+
+ {job.state.last_error ? (
+
+ {job.state.last_error}
+
+ ) : null}
+
+ {history.length ? (
+
+ {history.slice(-4).map((record) => (
+
+ {record.status} · {formatAutomationRunDuration(record.duration_ms)}
+
+ ))}
+
+ ) : null}
+