diff --git a/src/appmain.js b/src/appmain.js index 1260140..f257d09 100644 --- a/src/appmain.js +++ b/src/appmain.js @@ -619,7 +619,8 @@ class ReplayWebApp extends LitElement { onCollLoaded(event) { this.loadInfo = null; if (event.detail.collInfo) { - this.collTitle = event.detail.collInfo.title; + this.collTitle = + event.detail.collInfo.name || event.detail.collInfo.title; } if (event.detail.alreadyLoaded) { diff --git a/src/coll-index.js b/src/coll-index.js index 7c5fe6c..30b715b 100644 --- a/src/coll-index.js +++ b/src/coll-index.js @@ -1,5 +1,6 @@ import { LitElement, html, css } from "lit"; import { wrapCss, apiPrefix } from "./misc"; +import { map } from "lit/directives/map.js"; import prettyBytes from "pretty-bytes"; @@ -461,7 +462,7 @@ class CollInfo extends LitElement {
Total Size
- ${prettyBytes(Number(coll.size || 0))} + ${prettyBytes(Number(coll.totalSize || coll.size || 0))}Filename
- ${coll.filename} -Description
+ ${coll.description} +Files
+Filename
+ ${coll.filename} +Please wait, this page will reload after authentication...
',401)}if(!n){try{r=decodeURIComponent(r),r+=t.hash}catch(t){}const e=`\n \n \nSorry, this page was not found in this archive:
\n${r}
Redirecting to live page now... (If this URL is a file download, the download should have started).
\n