diff options
author | benal01 <bja4245@rit.edu> | 2025-03-29 15:01:12 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-29 15:01:12 -0400 |
commit | e0a3f2c2c0fec40aa50c8889e343a1dbc7f9d7fb (patch) | |
tree | 7b8c9811964e566ed4bc930e929301990538b82e /ufund-ui/src | |
parent | 61b5b762b150c82e7d48190bcfe3416bfea96059 (diff) | |
download | JellySolutions-e0a3f2c2c0fec40aa50c8889e343a1dbc7f9d7fb.tar.gz JellySolutions-e0a3f2c2c0fec40aa50c8889e343a1dbc7f9d7fb.tar.bz2 JellySolutions-e0a3f2c2c0fec40aa50c8889e343a1dbc7f9d7fb.zip |
API functionality for urgency and location
Diffstat (limited to 'ufund-ui/src')
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.html | 2 | ||||
-rw-r--r-- | ufund-ui/src/app/components/need-page/need-page.component.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html index 5e9a540..ed151a3 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.html +++ b/ufund-ui/src/app/components/need-list/need-list.component.html @@ -28,7 +28,7 @@ <ul> <li *ngFor="let need of searchResults" id="need-button-{{need.id}}"> <button [routerLink]="'/need/' + need.id" (mouseenter) ="changeText(need.id, '(details)')" (mouseleave)="changeText(need.id, '')"> - <p>{{need.name}}<span id="hover-status-label-{{need.id}}"> </span></p> + <p>{{need.name}} <span id="hover-status-label-{{need.id}}"> </span></p> </button> <button (click)="add(need)" *ngIf="isHelper()">Add To Basket</button> 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 90fd459..004f9eb 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 @@ -16,7 +16,8 @@ </div> <hr> - +<p>Location: {{need?.location}}</p> <p>Goal: {{need?.maxGoal}}</p> <p>Current: {{need?.current}}</p> +<p>Urgent: {{need?.urgent}}</p> <p>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</p>
\ No newline at end of file |