diff options
author | Hayden Hartman <haydenhartman10@gmail.com> | 2025-03-18 17:17:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 17:17:23 -0400 |
commit | db9e4a8c26dc5252cfe0974843bc391c57edd07d (patch) | |
tree | 0c8aba41ae378fe04e8312ab9eff48656732c9c8 /ufund-ui/src/app/components/need-page/need-page.component.html | |
parent | c7c4e037d655762cc6b394a460effbcd8816d175 (diff) | |
parent | 7a5396b65fcde8153c8eeae565bfecb7de37b23f (diff) | |
download | JellySolutions-2.1.tar.gz JellySolutions-2.1.tar.bz2 JellySolutions-2.1.zip |
Merge pull request #14 from RIT-SWEN-261-02/funding_basketv2.1
funding-basket merge
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 | 3 |
1 files changed, 2 insertions, 1 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 8234ac7..90fd459 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,3 +1,4 @@ +<button routerLink="/dashboard">Back to dashboard</button> <h1>Viewing Need: {{need?.name}}</h1> <a>internal id: {{need?.id}}</a> <div style="display: flex; column-gap: 6px;"> @@ -18,4 +19,4 @@ <p>Goal: {{need?.maxGoal}}</p> <p>Current: {{need?.current}}</p> -<p>This goal is <strong>{{((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)}}%</strong> complete!</p>
\ No newline at end of file +<p>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</p>
\ No newline at end of file |