Skip to content

Commit 163cc75

Browse files
Wout-atmirealexandrevryghem
authored andcommitted
130479: using ul > li in recent-item + "Load more ..." to "<a>" element
1 parent e9940f4 commit 163cc75

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/app/home-page/recent-item-list/recent-item-list.component.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
<div class="mt-4" [ngClass]="placeholderFontClass" *ngIf="itemRD?.hasSucceeded && itemRD?.payload?.page.length > 0" @fadeIn>
33
<div class="d-flex flex-row border-bottom mb-4 pb-4 ng-tns-c416-2"></div>
44
<h2> {{'home.recent-submissions.head' | translate}}</h2>
5-
<div class="my-4" *ngFor="let item of itemRD?.payload?.page">
6-
<ds-listable-object-component-loader [object]="item" [viewMode]="viewMode" class="pb-4">
7-
</ds-listable-object-component-loader>
8-
</div>
9-
<button (click)="onLoadMore()" class="btn btn-primary search-button mt-4 float-left ng-tns-c290-40"> {{'vocabulary-treeview.load-more' | translate }} ...</button>
5+
<ul class="list-unstyled m-0 p-0">
6+
<li class="my-4" *ngFor="let item of itemRD?.payload?.page">
7+
<ds-listable-object-component-loader [object]="item" [viewMode]="viewMode" class="pb-4">
8+
</ds-listable-object-component-loader>
9+
</li>
10+
</ul>
11+
<button (click)="onLoadMore()" class="btn btn-primary search-button mt-4 float-left" role="link">
12+
{{'vocabulary-treeview.load-more' | translate }} ...
13+
</button>
1014
</div>
1115
<ds-error *ngIf="itemRD?.hasFailed" message="{{'error.recent-submissions' | translate}}"></ds-error>
1216
<ds-loading *ngIf="!itemRD || itemRD.isLoading" message="{{'loading.recent-submissions' | translate}}">

0 commit comments

Comments
 (0)