Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
42
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
94eecffa
Unverified
Commit
94eecffa
authored
5 years ago
by
Art Lowel
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #465 from lhenze/464-collpages-emptymessage
Collection pages, recent submissions: Added "empty" message
parents
ee56de9e
64db1c24
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/i18n/en.json
+1
-0
1 addition, 0 deletions
resources/i18n/en.json
src/app/+collection-page/collection-page.component.html
+3
-0
3 additions, 0 deletions
src/app/+collection-page/collection-page.component.html
with
4 additions
and
0 deletions
resources/i18n/en.json
+
1
−
0
View file @
94eecffa
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
src/app/+collection-page/collection-page.component.html
+
3
−
0
View file @
94eecffa
...
...
@@ -52,6 +52,9 @@
message=
"{{'error.recent-submissions' | translate}}"
></ds-error>
<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"
>
{{'collection.page.browse.recent.empty' | translate}}
</div>
</ng-container>
</div>
<ds-error
*ngIf=
"collectionRD?.hasFailed"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment