No changes to display.
- {/if} - {:else if status === 'failed'} -- An error occurred. Check the timeline and logs below for details. -
- {:else} -- Select an action below to check for changes or publish immediately. -
+ + {#if streamDisconnected} + Connection lost — refresh to reconnect. + {:else if displayFailure} + {#if displayFailure.afterPublication}Could not refresh pending changes. + {/if} + {#if displayFailure.reason === 'pending-refresh'} + Could not refresh pending changes. Check again. + {:else if displayFailure.reason === 'checked-changes'} + Could not load checked changes. Check again. + {:else if displayFailure.reason === 'publication-refresh'} + Could not refresh publication results. Check again. + {:else if displayFailure.reason === 'conflict'} + Another publication operation is running. Try again when it finishes. + {:else if displayFailure.reason === 'server'} + Server error: {displayFailure.status} + {:else if displayFailure.reason === 'stream'} + {#if displayFailure.details}{displayFailure.details}{:else}Stream error{/if} + {:else} + {displayFailure.details} + {/if} + {:else if busy && checkingAfterPublication} + Checking remaining changes… + {:else if status === 'idle'} + Checking changes… + {:else if status === 'submitting'} + Starting… + {:else if status === 'enqueued'} + Waiting for worker… + {:else if status === 'running'} + {#if activeKind === 'publish'} + Publishing{#if totalStages > 0} + · {completedStages}/{totalStages}{:else}…{/if} + {:else} + Checking changes… + {/if} + {:else if publicationState === 'failed'} + {#if publicationError}{publicationError}{:else}Publish failed{/if} + {:else if publicationState === 'complete'} + {#if outcomes.some((outcome) => outcome.state === 'failed')}Published with errors{:else}Published{/if} + {:else if status === 'failed'} + {#if activeKind === 'publish'}Publish failed{:else}Check failed{/if} + {:else if auditRunId && missingPreselection} + No pending additions or updates for this item. + {:else} + Up to date + {/if} + +