diff --git a/frontend/src/pages/org/archived-item-detail/ui/qa.ts b/frontend/src/pages/org/archived-item-detail/ui/qa.ts index b6990bae..741a56a8 100644 --- a/frontend/src/pages/org/archived-item-detail/ui/qa.ts +++ b/frontend/src/pages/org/archived-item-detail/ui/qa.ts @@ -249,33 +249,45 @@ export class ArchivedItemDetailQA extends BtrixElement { -
-

- ${htmlCount} ${msg( - "HTML Pages", - )} -

-

- ${fileCount} ${msg( - "Non-HTML Files Captured As Pages", - )} -

-

- ${errorCount} ${msg( - "Failed Pages", - )} -

-
+ ${this.crawl + ? html`
+

+ ${msg(html` + ${htmlCount} + HTML ${pluralOf("pages", htmlCount)} + `)} +

+

+ ${msg(html` + ${fileCount} + Non-HTML files captured as ${pluralOf("pages", fileCount)} + `)} +

+

+ ${msg(html` + ${errorCount} + Failed ${pluralOf("pages", errorCount)} + `)} +

+
` + : html` + + + + `} ${when(this.mostRecentNonFailedQARun && this.qaRuns, (qaRuns) => this.renderAnalysis(qaRuns), )}
-

- ${msg("Pages")} (${( - this.pages?.total ?? 0 - ).toLocaleString()}) +

+ ${msg("Pages")} + ${this.pages != null + ? `(${this.pages.total.toLocaleString()})` + : html``}

${this.renderPageListControls()} ${this.renderPageList()}