mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
63945: Loading bitstreams section
This commit is contained in:
@@ -870,7 +870,8 @@
|
|||||||
"search-results": "Loading search results...",
|
"search-results": "Loading search results...",
|
||||||
"mydspace-results": "Loading items...",
|
"mydspace-results": "Loading items...",
|
||||||
"browse-by": "Loading items...",
|
"browse-by": "Loading items...",
|
||||||
"browse-by-page": "Loading page..."
|
"browse-by-page": "Loading page...",
|
||||||
|
"bitstreams": "Loading bitstreams..."
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"default": "Error",
|
"default": "Error",
|
||||||
|
@@ -23,7 +23,8 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ds-pagination *ngIf="(updates$ | async) && ((updates$ | async) | dsObjectValues).length > 0"
|
<ds-pagination *ngIf="(bitstreams$ | async) && !(bitstreams$ | async)?.isLoading &&
|
||||||
|
(updates$ | async) && ((updates$ | async) | dsObjectValues).length > 0"
|
||||||
[paginationOptions]="(searchOptions$ | async)?.pagination"
|
[paginationOptions]="(searchOptions$ | async)?.pagination"
|
||||||
[pageInfoState]="(bitstreams$ | async)?.payload"
|
[pageInfoState]="(bitstreams$ | async)?.payload"
|
||||||
[collectionSize]="(bitstreams$ | async)?.payload?.totalElements"
|
[collectionSize]="(bitstreams$ | async)?.payload?.totalElements"
|
||||||
@@ -54,9 +55,12 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</ds-pagination>
|
</ds-pagination>
|
||||||
<div *ngIf="!(updates$ | async) || (updates$ | async) && ((updates$ | async) | dsObjectValues).length === 0" class="alert alert-info w-100 d-inline-block" role="alert">
|
<div *ngIf="(bitstreams$ | async) && !(bitstreams$ | async)?.isLoading &&
|
||||||
|
!(updates$ | async) || (updates$ | async) && ((updates$ | async) | dsObjectValues).length === 0"
|
||||||
|
class="alert alert-info w-100 d-inline-block mt-4" role="alert">
|
||||||
{{'item.edit.bitstreams.empty' | translate}}
|
{{'item.edit.bitstreams.empty' | translate}}
|
||||||
</div>
|
</div>
|
||||||
|
<ds-loading *ngIf="!(bitstreams$ | async) || (bitstreams$ | async)?.isLoading" message="{{'loading.bitstreams' | translate}}"></ds-loading>
|
||||||
|
|
||||||
<div class="button-row bottom">
|
<div class="button-row bottom">
|
||||||
<div class="my-2 float-right">
|
<div class="my-2 float-right">
|
||||||
|
Reference in New Issue
Block a user