aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-04-02 16:09:24 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-04-02 16:09:24 -0400
commitbc23c624a760b33bb67b3c0df5fd3d8f39f36e77 (patch)
tree8f2760afcdadf51b25412367139efbe5c8a2de83 /ufund-ui
parent4d382ccf9de889e4b339dd13220c3f761497e419 (diff)
downloadJellySolutions-bc23c624a760b33bb67b3c0df5fd3d8f39f36e77.tar.gz
JellySolutions-bc23c624a760b33bb67b3c0df5fd3d8f39f36e77.tar.bz2
JellySolutions-bc23c624a760b33bb67b3c0df5fd3d8f39f36e77.zip
Added dollar signs and other small additions to needs
Diffstat (limited to 'ufund-ui')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.html2
-rw-r--r--ufund-ui/src/app/components/need-page/need-page.component.html2
2 files changed, 2 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 88317dd..593aebf 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
@@ -42,7 +42,7 @@
<div class="prog">
<span id="hover-status-label-{{need.id}}"> </span>
- <span>{{need.current}}/{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
+ <span>{{getPrefix(need)}}{{need.current}}/{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
<progress [value]="need.current" [max]="need.maxGoal"></progress>
</div>
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 522b710..3d362f5 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
@@ -11,7 +11,7 @@
<span>This goal is <strong>{{(((need.current)*100) / (need.maxGoal)).toFixed(0)}}%</strong> complete!</span>
</div>
- <span><strong>Target Goal:</strong> {{need.maxGoal}}</span>
+ <span><strong>Target Goal:</strong> {{(need.type === GoalType.MONETARY) ? "$" : ""}}{{need.maxGoal}}</span>
<span><strong>Amount Currently Collected:</strong> {{need.current}}</span>