{cron?.endsWith("1") ? "Weekly" : "Daily"} alert for
{displayList(types)} on
{displayRelayUrl(relay)}
, sent via {channel}.
{#if status}
{@const statusText = getTagValue("status", status.tags) || "error"}
{#if statusText === "ok"}
Active
{:else if statusText === "pending"}
Pending
{:else}
{statusText.replace("-", " ").replace(/^(.)/, x => x.toUpperCase())}
{/if}
{:else}
Inactive
{/if}