+
+ {exp.status === 'running' && (
+
+
+ {t('hold.export.running', 'Collecting')}
+
+ )}
+ {exp.status === 'ready' && {t('hold.export.ready', 'Ready')}}
+ {exp.status === 'failed' && {t('hold.export.failed', 'Failed')}}
+
+ {t('hold.export.startedBy', '{{when}} by {{who}}', {
+ when: new Date(exp.createdAt).toLocaleString(),
+ who: exp.createdBy,
+ })}
+
+
+
{exp.reason}
+ {exp.accountIds.length > 0 && (
+
+ {exp.accountIds.map((id) => (
+
+ ))}
+
+ )}
+ {exp.status === 'ready' && (
+
+ {[
+ exp.items === 1
+ ? t('hold.export.oneItem', '1 item')
+ : t('hold.export.items', '{{n}} items', { n: String(exp.items) }),
+ formatSize(exp.size),
+ ].join(' · ')}
+ {exp.sha256 &&
SHA-256 {exp.sha256}
}
+
+ )}
+ {exp.status === 'failed' && exp.error &&
{exp.error}
}
+