File tree Expand file tree Collapse file tree 2 files changed +23
-12
lines changed
Expand file tree Collapse file tree 2 files changed +23
-12
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,19 @@ export class CollectionDetail extends BtrixElement {
621621 ( col ) =>
622622 `${ this . localize . number ( col . pageCount ) } ${ pluralOf ( "pages" , col . pageCount ) } ` ,
623623 ) }
624+ ${ this . renderDetailItem (
625+ msg ( "Total Size" ) ,
626+ ( col ) => html `
627+ ${ this . localize . bytes ( col . totalSize ) }
628+ ${ col . hasDedupeIndex
629+ ? html `<sl-tooltip content=${ msg ( "Deduplicated" ) } >
630+ <btrix-badge variant="success" pill
631+ >${ msg ( "Deduped" ) } </btrix-badge
632+ >
633+ </sl-tooltip>`
634+ : nothing }
635+ ` ,
636+ ) }
624637 ${ createdDate
625638 ? this . renderDetailItem ( msg ( "Created" ) , ( ) =>
626639 this . localize . relativeDate ( createdDate ) ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const sortableFields: Record<
6464 defaultDirection : SortDirection . Descending ,
6565 } ,
6666 totalSize : {
67- label : msg ( "Size" ) ,
67+ label : msg ( "Total Size" ) ,
6868 defaultDirection : SortDirection . Descending ,
6969 } ,
7070 modified : {
@@ -620,26 +620,24 @@ export class CollectionsList extends WithSearchOrgContext(BtrixElement) {
620620 </ div >
621621 </ a >
622622 </ btrix-table-cell >
623- < btrix-table-cell class =" gap-2 " >
623+ < btrix-table-cell >
624624 ${ this . localize . number ( col . crawlCount , { notation : "compact" } ) }
625625 ${ pluralOf ( "items" , col . crawlCount ) }
626+ </ btrix-table-cell >
627+ < btrix-table-cell >
628+ ${ this . localize . number ( col . pageCount , { notation : "compact" } ) }
629+ ${ pluralOf ( "pages" , col . pageCount ) }
630+ </ btrix-table-cell >
631+ < btrix-table-cell class ="gap-2 ">
632+ ${ this . localize . bytes ( col . totalSize || 0 ) }
626633 ${ col . hasDedupeIndex
627- ? html `< sl-tooltip content =${ msg ( "Deduplicated Archived Items " ) } >
634+ ? html `< sl-tooltip content =${ msg ( "Deduplicated" ) } >
628635 < btrix-badge variant ="success " pill
629636 > ${ msg ( "Deduped" ) } </ btrix-badge
630637 >
631638 </ sl-tooltip > `
632639 : nothing }
633640 </ btrix-table-cell >
634- < btrix-table-cell >
635- ${ this . localize . number ( col . pageCount , { notation : "compact" } ) }
636- ${ pluralOf ( "pages" , col . pageCount ) }
637- </ btrix-table-cell >
638- < btrix-table-cell >
639- ${ this . localize . bytes ( col . totalSize || 0 , {
640- unitDisplay : "narrow" ,
641- } ) }
642- </ btrix-table-cell >
643641 < btrix-table-cell >
644642 < btrix-format-date
645643 date =${ col . modified }
You can’t perform that action at this time.
0 commit comments