diff --git a/frontend/src/pages/archive/crawl-templates-detail.ts b/frontend/src/pages/archive/crawl-templates-detail.ts index 5098576d..0ad8fd64 100644 --- a/frontend/src/pages/archive/crawl-templates-detail.ts +++ b/frontend/src/pages/archive/crawl-templates-detail.ts @@ -792,23 +792,39 @@ export class CrawlTemplatesDetail extends LiteElement { class="flex items-center justify-between border border-zinc-100 rounded p-1 mt-1" > ${this.crawlTemplate?.lastCrawlId - ? html` + + + ${this.crawlTemplate.lastCrawlState.replace(/_/g, " ")} + + + + ${msg("View crawl")} - ` + ` : html`${msg("None")}`} diff --git a/frontend/src/pages/archive/crawl-templates-list.ts b/frontend/src/pages/archive/crawl-templates-list.ts index 47eff00f..71067b61 100644 --- a/frontend/src/pages/archive/crawl-templates-list.ts +++ b/frontend/src/pages/archive/crawl-templates-list.ts @@ -147,7 +147,15 @@ export class CrawlTemplatesList extends LiteElement {
${t.crawlCount - ? html` + ? html` + + ${msg( + str`Last Crawl: ${t.lastCrawlState.replace( + /_/g, + " " + )}` + )} +