diff options
| author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 13:33:47 -0400 | 
|---|---|---|
| committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 13:33:47 -0400 | 
| commit | f14d070155a6927d544a908545c648c402948fea (patch) | |
| tree | f6f56af728b5d0d23f1f222962a9215bc852a080 /ufund-ui/src/app/components/need-page/need-page.component.html | |
| parent | 22df0d963e09520339dfa9c681caeaaec790df8e (diff) | |
| parent | 2eb67f9481d858474e77af545e71f68b2cea7041 (diff) | |
| download | JellySolutions-f14d070155a6927d544a908545c648c402948fea.tar.gz JellySolutions-f14d070155a6927d544a908545c648c402948fea.tar.bz2 JellySolutions-f14d070155a6927d544a908545c648c402948fea.zip  | |
Merge remote-tracking branch 'origin/css' into css
Diffstat (limited to 'ufund-ui/src/app/components/need-page/need-page.component.html')
| -rw-r--r-- | ufund-ui/src/app/components/need-page/need-page.component.html | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/ufund-ui/src/app/components/need-page/need-page.component.html b/ufund-ui/src/app/components/need-page/need-page.component.html index 958dfa6..522b710 100644 --- a/ufund-ui/src/app/components/need-page/need-page.component.html +++ b/ufund-ui/src/app/components/need-page/need-page.component.html @@ -1,14 +1,14 @@  <div id="box"> -    <h1>{{need?.name}}</h1> -    <span class="needType">{{need?.type}} GOAL</span> +    <h1>{{need.name}}</h1> +    <span class="needType">{{need.type}} GOAL</span> -    <img *ngIf="need.image" alt="Need image" [src]="need?.image"/> +    <img *ngIf="need.image" alt="Need image" [src]="need.image"/> -    <p>{{need?.description}}</p> +    <p>{{need.description}}</p>      <div class="prog">  <!--        <span>{{need?.current}} / {{need?.maxGoal}}</span>--> -        <progress [value]="need?.current" [max]="need?.maxGoal"></progress> -        <span>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</span> +        <progress [value]="need.current" [max]="need.maxGoal"></progress> +        <span>This goal is <strong>{{(((need.current)*100) / (need.maxGoal)).toFixed(0)}}%</strong> complete!</span>      </div>      <span><strong>Target Goal:</strong> {{need.maxGoal}}</span>  | 
