diff --git a/frontend/src/features/archived-items/archived-item-list.ts b/frontend/src/features/archived-items/archived-item-list.ts index eab15f1bb2..403e13b796 100644 --- a/frontend/src/features/archived-items/archived-item-list.ts +++ b/frontend/src/features/archived-items/archived-item-list.ts @@ -415,7 +415,7 @@ export class ArchivedItemList extends TailwindElement { { cssCol: "1fr", cell: html` - ${msg("Pages Crawled")} + ${msg("Pages")} `, }, { diff --git a/frontend/src/pages/org/archived-item-detail/archived-item-detail.ts b/frontend/src/pages/org/archived-item-detail/archived-item-detail.ts index 49a201af3f..c87cad917e 100644 --- a/frontend/src/pages/org/archived-item-detail/archived-item-detail.ts +++ b/frontend/src/pages/org/archived-item-detail/archived-item-detail.ts @@ -853,43 +853,21 @@ export class ArchivedItemDetail extends BtrixElement { `, )} - + + ${this.item + ? html`${this.localize.number(this.item.pageCount || 0)} + ${pluralOf("pages", this.item.pageCount || 0)}` + : html``} + ${this.item ? html`${this.item.fileSize - ? html`${this.localize.bytes(this.item.fileSize || 0, { - unitDisplay: "narrow", - })}${this.item.stats?.done - ? html`, - ${this.localize.number(+this.item.stats.done)} - / - ${this.localize.number(+this.item.stats.found)} - - ${pluralOf("pages", +this.item.stats.found)}` - : html`, - ${this.localize.number( - this.item.pageCount ? +this.item.pageCount : 0, - )} - - ${pluralOf( - "pages", - this.item.pageCount ? +this.item.pageCount : 0, - )}`}` + ? this.localize.bytes(this.item.fileSize || 0) : html`${msg("Unknown")}`}` : html``} ${this.renderCrawlChannelVersion()} - + ${this.item ? html` ClipboardController.copyToClipboard(item.id)} > - ${msg("Copy Crawl ID")} + ${msg("Copy Archived Item ID")} ` : nothing}