aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.html
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-03-31 17:42:40 -0400
committerbenal01 <bja4245@rit.edu>2025-03-31 17:42:40 -0400
commit643afd1d6ffcca3597556d287944eaf487da709c (patch)
treedc9f5748a9276123ca8109fa9720f19405b8098f /ufund-ui/src/app/components/need-list/need-list.component.html
parentd4dd348e81d3aef4cc62335f1dad5a02452dfadd (diff)
downloadJellySolutions-643afd1d6ffcca3597556d287944eaf487da709c.tar.gz
JellySolutions-643afd1d6ffcca3597556d287944eaf487da709c.tar.bz2
JellySolutions-643afd1d6ffcca3597556d287944eaf487da709c.zip
frontend description editing and display
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 3a4ca9c..d35f2ed 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}}%)</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)">