aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html
blob: fc70c3d871002474f582dd54ca69f00dd8a8db4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div id="needList">
    <div id="empty" *ngIf="!needList?.length">
        <span>(No needs)</span>
    </div>
    <div class="needEntry" *ngFor="let need of needList" [routerLink]="'/need/'+need.id">
        <div>
            <span class="needName">{{need.name}}</span>
            <span class="needType">{{need.type}}</span>
        </div>
        <div>
            <span>{{need.current}}/{{need.maxGoal}}</span>
            <progress [max]="need.maxGoal" [value]="need.current"></progress>
        </div>
    </div>
</div>