{#if canUndo || isPending} Sending... {#if canUndo} Undo {/if} {:else if isFailure && failure} Failed to send! {/if}