Skip to content
Snippets Groups Projects
Commit 1ac9bc02 authored by Jonas Van Goolen's avatar Jonas Van Goolen
Browse files

#150 Rollback to previous state (not part of this issue)

parent 806b7bc5
No related branches found
No related tags found
No related merge requests found
<ng-container *ngVar="(subCollectionsRDObs | async) as subCollectionsRD">
<div *ngIf="subCollectionsRD?.hasSucceeded " @fadeIn>
<h2>{{'community.sub-collection-list.head' | translate}}</h2>
<ul>
<ds-viewable-collection [objects]="subCollectionsRD?.payload"
[sortConfig]="sortConfig"></ds-viewable-collection>
</ul>
</div><ds-error *ngIf="subCollectionsRD?.hasFailed" message="{{'error.sub-collections' | translate}}"></ds-error>
<div *ngIf="subCollectionsRD?.hasSucceeded" @fadeIn>
<h2>{{'community.sub-collection-list.head' | translate}}</h2>
<ul>
<li *ngFor="let collection of subCollectionsRD?.payload">
<p>
<span class="lead"><a [routerLink]="['/collections', collection.id]">{{collection.name}}</a></span><br>
<span class="text-muted">{{collection.shortDescription}}</span>
</p>
</li>
</ul>
</div>
<ds-error *ngIf="subCollectionsRD?.hasFailed" message="{{'error.sub-collections' | translate}}"></ds-error>
<ds-loading *ngIf="subCollectionsRD?.isLoading" message="{{'loading.sub-collections' | translate}}"></ds-loading>
</ng-container>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment