From f49fab35997e9687541a944453e108d6a350528e Mon Sep 17 00:00:00 2001 From: lhenze Date: Mon, 26 Aug 2019 08:56:13 -0400 Subject: [PATCH 1/2] Added "empty" message Modeled on browse-by.component.html --- src/app/+collection-page/collection-page.component.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/+collection-page/collection-page.component.html b/src/app/+collection-page/collection-page.component.html index 91239de17c6..ddfa17e580b 100644 --- a/src/app/+collection-page/collection-page.component.html +++ b/src/app/+collection-page/collection-page.component.html @@ -52,6 +52,9 @@

{{'collection.page.browse.recent.head' | translate}}

message="{{'error.recent-submissions' | translate}}"> + Date: Tue, 3 Sep 2019 17:02:09 -0400 Subject: [PATCH 2/2] New key created for *no recent items in this collection* --- resources/i18n/en.json | 1 + src/app/+collection-page/collection-page.component.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/i18n/en.json b/resources/i18n/en.json index f3236251cf2..234967231e3 100644 --- a/resources/i18n/en.json +++ b/resources/i18n/en.json @@ -132,6 +132,7 @@ "collection.form.tableofcontents": "News (HTML)", "collection.form.title": "Name", "collection.page.browse.recent.head": "Recent Submissions", + "collection.page.browse.recent.empty": "No items to show", "collection.page.license": "License", "collection.page.news": "News", "community.create.head": "Create a Community", diff --git a/src/app/+collection-page/collection-page.component.html b/src/app/+collection-page/collection-page.component.html index ddfa17e580b..2b16bc1ca68 100644 --- a/src/app/+collection-page/collection-page.component.html +++ b/src/app/+collection-page/collection-page.component.html @@ -53,7 +53,7 @@

{{'collection.page.browse.recent.head' | translate}}