aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
blob: a53b47cf9b4a89d80ef3f9054c878b34e35ec176 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div id="box">
    <h1>Funding Basket</h1>
    <ng-template [ngIf]="usersService.getBasket().getValue().length">
        <app-need-list [needs]="of(usersService.getBasket().getValue())"/>
        <br>
        <div id="footer">
            <button class="button2" title="checkout" (click)="checkout()">Checkout</button>
        </div>
    </ng-template>
    <div *ngIf="!usersService.getBasket().getValue().length">
        <span>There are no needs in your basket! </span><a routerLink="/cupboard">Browse the cupboard</a>
    </div>
</div>