diff options
author | benal01 <bja4245@rit.edu> | 2025-04-02 22:52:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 22:52:09 -0400 |
commit | fb6d8140830bbb5081056105eaa775f26885da8f (patch) | |
tree | c744dd407f46f71b692aaaad6d4c66237c8ba9a5 /ufund-ui/src/app/components/need-page | |
parent | a6cdb080576ef24718986bccd0a12d174c8aaa05 (diff) | |
parent | 2b7c42ffacaaf884bc9497e975c0c3274e9f966e (diff) | |
download | JellySolutions-fb6d8140830bbb5081056105eaa775f26885da8f.tar.gz JellySolutions-fb6d8140830bbb5081056105eaa775f26885da8f.tar.bz2 JellySolutions-fb6d8140830bbb5081056105eaa775f26885da8f.zip |
Merge branch 'main' into need-image
Diffstat (limited to 'ufund-ui/src/app/components/need-page')
-rw-r--r-- | ufund-ui/src/app/components/need-page/need-page.component.html | 9 |
1 files changed, 5 insertions, 4 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 f8c2007..6921eac 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 @@ -8,13 +8,14 @@ <span>This goal is <strong>{{(((need.current)*100) / (need.maxGoal)).toFixed(0)}}%</strong> complete!</span> </div> + <div class="split"> - <div class="left"> - <span><strong>Target Goal:</strong> {{(need.type === GoalType.MONETARY) ? "$" : ""}}{{need.maxGoal}}</span> + <div class="left"> + <span><strong>Target Goal:</strong> {{(need.type === GoalType.MONETARY) ? "$" : ""}}{{need.maxGoal}}</span> - <span><strong>Amount Currently Collected:</strong> {{need.current}}</span> + <span><strong>Amount Currently Collected:</strong> {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}</span> - <span><strong>Location:</strong> {{need.location}}</span> + <span><strong>Location:</strong> {{need.location}}</span> <span><strong>Urgency: </strong> <span *ngIf="!need.urgent">Not urgent</span> |