forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
114599: Added loading animation after creating collection or community
- Loading branch information
Kuno Vercammen
committed
Apr 23, 2024
1 parent
6d582cd
commit 3922e73
Showing
5 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
21 changes: 13 additions & 8 deletions
21
src/app/collection-page/create-collection-page/create-collection-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12 pb-4"> | ||
<h2 id="sub-header" class="border-bottom pb-2">{{'collection.create.sub-head' | translate:{ parent: dsoNameService.getName((parentRD$| async)?.payload) } }}</h2> | ||
</div> | ||
<div class="container" *ngIf="(isLoading$ | async) === false"> | ||
<div class="row"> | ||
<div class="col-12 pb-4"> | ||
<h2 id="sub-header" | ||
class="border-bottom pb-2">{{ 'collection.create.sub-head' | translate:{ parent: dsoNameService.getName((parentRD$| async)?.payload) } }}</h2> | ||
</div> | ||
<ds-collection-form (submitForm)="onSubmit($event)" | ||
(back)="navigateToHome()" | ||
(finish)="navigateToNewPage()"></ds-collection-form> | ||
</div> | ||
<ds-collection-form (submitForm)="onSubmit($event)" | ||
(back)="navigateToHome()" | ||
(finish)="navigateToNewPage()"></ds-collection-form> | ||
</div> | ||
|
||
<div class="container"> | ||
<ds-themed-loading *ngIf="isLoading$ | async"></ds-themed-loading> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
src/app/community-page/create-community-page/create-community-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<div class="container"> | ||
<div class="container" *ngIf="(isLoading$ | async) === false"> | ||
<div class="row"> | ||
<div class="col-12 pb-4"> | ||
<ng-container *ngVar="(parentRD$ | async)?.payload as parent"> | ||
<h2 *ngIf="!parent" id="header" class="border-bottom pb-2">{{ 'community.create.head' | translate }}</h2> | ||
<h2 *ngIf="parent" id="sub-header" class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h2> | ||
<h2 *ngIf="parent" id="sub-header" | ||
class="border-bottom pb-2">{{ 'community.create.sub-head' | translate:{ parent: dsoNameService.getName(parent) } }}</h2> | ||
</ng-container> | ||
</div> | ||
</div> | ||
<ds-community-form (submitForm)="onSubmit($event)" | ||
(back)="navigateToHome()" | ||
(finish)="navigateToNewPage()"></ds-community-form> | ||
</div> | ||
|
||
<div class="container"> | ||
<ds-themed-loading *ngIf="isLoading$ | async"></ds-themed-loading> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters