0" class="col-md-12">
{{'DMP-LISTING.SORT-BY' | translate}}:
-
+
{{enumUtils.toRecentActivityOrderString(order.MODIFIED)}}
{{enumUtils.toRecentActivityOrderString(order.PUBLISHED)}}
@@ -32,13 +34,11 @@
-
- {{ 'GENERAL.ACTIONS.TAKE-A-TOUR'| translate }}
-
+
+
{{ 'GENERAL.ACTIONS.TAKE-A-TOUR'| translate }}
-
0" appearance="outline" class="search-form ml-auto col-auto pr-0"
+
search
{{'GENERAL.ACTIONS.LOAD-MORE' | translate}}
-
+
{{'DMP-LISTING.EMPTY-LIST' | translate}}
diff --git a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.scss b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.scss
index efbc38c53..bbc48f591 100644
--- a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.scss
+++ b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.scss
@@ -81,6 +81,14 @@
position: relative;
}
+.header-title {
+ text-align: left;
+ font-size: 1.25rem;
+ font-weight: 300;
+ color: #212121;
+ padding: 0px;
+}
+
.header-text-container {
background: rgba(255, 255, 255, 0.7);
position: absolute;
@@ -133,7 +141,7 @@
letter-spacing: 0px;
color: #212121;
padding-left: 40px;
- padding-top: 36px;
+ padding-top: 38px;
padding-bottom: 36px;
padding-right: 55px;
opacity: 1;
@@ -190,7 +198,7 @@
right: 0px;
z-index: 100;
width: 37px;
- transition: right .3s;
+ transition: right 0.3s;
transition-timing-function: ease-in-out;
}
@@ -225,7 +233,8 @@
color: black;
}
-.pointer:hover, .zenodo-link:hover {
+.pointer:hover,
+.zenodo-link:hover {
color: #00b29f;
}
@@ -235,8 +244,8 @@
}
::ng-deep .sort-form .mat-form-field-wrapper {
- background-color: white !important;
- padding-bottom: 0 !important;
+ background-color: white !important;
+ padding-bottom: 0 !important;
}
::ng-deep .mat-form-field-appearance-outline .mat-form-field-infix {
@@ -252,7 +261,7 @@
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 0.02rem;
- color: #2D72D6;
+ color: #2d72d6;
cursor: pointer;
}
diff --git a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts
index d113f23db..cc9a945eb 100644
--- a/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts
+++ b/dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.ts
@@ -52,6 +52,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
groupLabel: string;
isPublic: boolean = false;
public isVisible = true
+ hasListingItems = null;
startIndex: number = 0;
pageSize: number = 5;
@@ -236,6 +237,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
return item;
});
this.listingItems = result.data;
+ this.hasListingItems = true;
this.totalCount = result.totalCount;
});
}
@@ -260,6 +262,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
});
// this.listingItems = this.listingItems.concat(result.data);
this.listingItems = this.mergeTwoSortedLists(this.listingItems, result.data, this.formGroup.get('order').value);
+ this.hasListingItems = true;
});
}