From 07a8024daa74aea42745853a7331fac406f88da6 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 19 Jun 2023 20:59:05 +0300 Subject: [PATCH] src/app: adjust item count style Minor adjustment to community and collection item counts. Instead of using the Bootstrap `lead` class, which reduces weight but increases size, we should use the same badge / pill style used in other counts like on on the browse by pages. --- .../community-list.component.html | 15 +++++++++------ .../collection-list-element.component.html | 17 ++++++++++------- .../community-list-element.component.html | 17 ++++++++++------- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/src/app/community-list-page/community-list/community-list.component.html b/src/app/community-list-page/community-list/community-list.component.html index 5043d45c93..d6fd77e79b 100644 --- a/src/app/community-list-page/community-list/community-list.component.html +++ b/src/app/community-list-page/community-list/community-list.component.html @@ -33,12 +33,15 @@ -
- - {{ dsoNameService.getName(node.payload) }} - - [{{node.payload.archivedItemsCount}}] -
+
+
+ + {{ dsoNameService.getName(node.payload) }} + +   + {{node.payload.archivedItemsCount}} +
+
diff --git a/src/app/shared/object-list/collection-list-element/collection-list-element.component.html b/src/app/shared/object-list/collection-list-element/collection-list-element.component.html index 707adabde2..c50b382495 100644 --- a/src/app/shared/object-list/collection-list-element/collection-list-element.component.html +++ b/src/app/shared/object-list/collection-list-element/collection-list-element.component.html @@ -1,10 +1,13 @@ - - {{ dsoNameService.getName(object) }} - - - {{ dsoNameService.getName(object) }} - -[{{object.archivedItemsCount}}] +
+ + {{ dsoNameService.getName(object) }} + + + {{ dsoNameService.getName(object) }} + +   + {{object.archivedItemsCount}} +
{{object.shortDescription}}
diff --git a/src/app/shared/object-list/community-list-element/community-list-element.component.html b/src/app/shared/object-list/community-list-element/community-list-element.component.html index ea6782b949..2101261bdc 100644 --- a/src/app/shared/object-list/community-list-element/community-list-element.component.html +++ b/src/app/shared/object-list/community-list-element/community-list-element.component.html @@ -1,10 +1,13 @@ - - {{ dsoNameService.getName(object) }} - - - {{ dsoNameService.getName(object) }} - -[{{object.archivedItemsCount}}] +
+ + {{ dsoNameService.getName(object) }} + + + {{ dsoNameService.getName(object) }} + +   + {{object.archivedItemsCount}} +
{{object.shortDescription}}