aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.html
diff options
context:
space:
mode:
authorTyler Ferrari <69283684+Sowgro@users.noreply.github.com>2025-03-31 20:19:44 -0400
committerGitHub <noreply@github.com>2025-03-31 20:19:44 -0400
commitb7539414ac6aa8efd423a3a9a0a2b5586757e19c (patch)
tree39a21dc367d3891c53e849f5e1ce81eaebc0fd21 /ufund-ui/src/app/components/need-list/need-list.component.html
parent459c716d5429c040ac25435aab93f896f2fd79c3 (diff)
parenta2e1329a510375fdada021c3d6a2f631a9c162ee (diff)
downloadJellySolutions-b7539414ac6aa8efd423a3a9a0a2b5586757e19c.tar.gz
JellySolutions-b7539414ac6aa8efd423a3a9a0a2b5586757e19c.tar.bz2
JellySolutions-b7539414ac6aa8efd423a3a9a0a2b5586757e19c.zip
Merge pull request #21 from RIT-SWEN-261-02/need-description
Need description and image support
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.html10
1 files changed, 7 insertions, 3 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 e24ee09..c325320 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
@@ -32,20 +32,24 @@
<span class="needName">{{need.name}}</span>
<span class="needType">{{need.type}}</span>
</div>
-
+
<div class="right">
<span *ngIf="need.urgent" class="urgent">URGENT</span>
<span *ngIf="need.location"><span class="icon">location_on</span>{{need.location}}</span>
</div>
</div>
-
+
<div class="prog">
<span id="hover-status-label-{{need.id}}"> </span>
<span>{{need.current}}/{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
<progress [value]="need.current" [max]="need.maxGoal"></progress>
</div>
- </div>
+ <div class="description">
+ {{need.description}}
+ </div>
+ </div>
+
<div>
<button *ngIf="isHelper()" (click)="add(need)">Add To Basket</button>
<button *ngIf="isManager()" (click)="select(need)">