diff options
author | benal01 <bja4245@rit.edu> | 2025-03-31 17:42:40 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-31 17:42:40 -0400 |
commit | 643afd1d6ffcca3597556d287944eaf487da709c (patch) | |
tree | dc9f5748a9276123ca8109fa9720f19405b8098f /ufund-ui/src/app/components/need-list/need-list.component.html | |
parent | d4dd348e81d3aef4cc62335f1dad5a02452dfadd (diff) | |
download | JellySolutions-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.html | 10 |
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)"> |