aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-07 16:49:21 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-07 16:49:21 -0400
commit8b64b8bd43f987b924d74d0ea597b7b606ca9357 (patch)
treec8c3229c54955a4a037b0ce0a016221e8784af42 /ufund-ui/src/app/components/need-list/need-list.component.html
parentbb4e0e55fee7ec8f34c36e6299301d612a0de2ce (diff)
parent7635188ed6182a72facd8ab3299f13c7217a8abd (diff)
downloadJellySolutions-8b64b8bd43f987b924d74d0ea597b7b606ca9357.tar.gz
JellySolutions-8b64b8bd43f987b924d74d0ea597b7b606ca9357.tar.bz2
JellySolutions-8b64b8bd43f987b924d74d0ea597b7b606ca9357.zip
Merge branch 'main' into light-mode
# Conflicts: # ufund-ui/src/styles.css
Diffstat (limited to 'ufund-ui/src/app/components/need-list/need-list.component.html')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.html4
1 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 0e5b762..99c9f97 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
@@ -21,7 +21,7 @@
<div class="prog">
<span id="hover-status-label-{{need.id}}"> </span>
- <span>{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}/{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
+ <span>{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current.toLocaleString()}} / {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal.toLocaleString()}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
<progress [value]="need.current" [max]="need.maxGoal"></progress>
</div>
</div>
@@ -32,7 +32,7 @@
</div>
</div>
-<div id="page-selector">
+<div *ngIf="itemsPerPage !== Infinity" id="page-selector">
<button [disabled]="!(currentPage !== 0)" (click)="firstPage()"><span class="icon">first_page</span></button>
<button [disabled]="!(currentPage > 0)" (click)="decrementPage()"><span class="icon">arrow_back_ios_new</span></button>
<span>Page {{currentPage + 1}} of {{totalPages}}</span>