{#if sending.value}
{data.resultChangeLogCount.toLocaleString("en", { useGrouping: true })}
result(s)
{table_name} — {operation} — User "{username}"
{$page.url.searchParams.get("page") ?? 1} / {Math.max(
Math.ceil(data.resultChangeLogCount / 20),
1
)}
Logs
Filter
{#each data.changeLog as { id, table_name, operation, tstamp, old_value, new_value, user_id, username }}
User
Resource
Operation
Date & Time
Changes
{/each}
{username}
{table_name}
{operation}
Log changes
Difference
{#if form?.logId === id && form?.currentDiff}
{@html DOMPurify.sanitize(
form.currentDiff,
{ ALLOWED_TAGS: ["ins", "del"] }
)}
{/if}
{/if}
{#if new_value && !old_value}
New value
{DOMPurify.sanitize(newValue)}
{/if}
{#if old_value && !new_value}
Old value
{DOMPurify.sanitize(oldValue)}
{/if}