@model PlotLine.Services.Manuscript.ManuscriptReaderModel @{ ViewData["Title"] = $"Manuscript Reader · {Model.Book.BookTitle}"; ViewData["DesktopLayout"] = "details"; }

@Model.Book.BookTitle

Manuscript Reader

Read only
@if (Model.LastSuccessfulSyncUtc is DateTime sync) {

Last successful chapter synchronisation:

} else {

No successful chapter synchronisation timestamp is recorded.

} @if (Model.SnapshotCapturedUtc is DateTime captured) {

Accepted manuscript snapshot captured:

}

Showing the latest accepted server text. Refresh to read newly synchronised changes.

@if (Model.Paragraphs.Count == 0) {

@(Model.Chapter?.ChapterTitle ?? "No chapters yet")

No accepted manuscript text is available for this chapter. Save and successfully synchronise it using Word Companion, then refresh this page.

Refresh manuscript
} else {

Chapter @Model.Chapter?.ChapterNumber

@if (!Model.Paragraphs[0].IsHeading) {

@Model.Chapter?.ChapterTitle

}
}