Skip to content

Commit

Permalink
New key created for *no recent items in this collection*
Browse files Browse the repository at this point in the history
  • Loading branch information
lhenze committed Sep 3, 2019
1 parent 79ccf2e commit 64db1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/app/+collection-page/collection-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2>{{'collection.page.browse.recent.head' | translate}}</h2>
<ds-loading *ngIf="!itemRD || itemRD.isLoading"
message="{{'loading.recent-submissions' | translate}}"></ds-loading>
<div *ngIf="!itemRD?.isLoading && itemRD?.payload?.page.length === 0" class="alert alert-info w-100" role="alert">
{{'browse.empty' | translate}}
{{'collection.page.browse.recent.empty' | translate}}
</div>
</ng-container>
</div>
Expand Down

0 comments on commit 64db1c2

Please sign in to comment.