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-24 10:27:31 -0400
committerbenal01 <bja4245@rit.edu>2025-03-24 10:27:31 -0400
commita05f6f0ab8dead76f937a2d7196fa005af0367fe (patch)
tree1190a5ad270359868bb59e73f9f7c22122344865 /ufund-ui/src/app/components/need-list/need-list.component.html
parentb725948521e81965a18991e7dd59a2bc84dbd460 (diff)
downloadJellySolutions-a05f6f0ab8dead76f937a2d7196fa005af0367fe.tar.gz
JellySolutions-a05f6f0ab8dead76f937a2d7196fa005af0367fe.tar.bz2
JellySolutions-a05f6f0ab8dead76f937a2d7196fa005af0367fe.zip
hover feedback for need list's button
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 fef22d7..fc2daa5 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
@@ -13,9 +13,9 @@
<h2 *ngIf="searchResults.length == 0"> No Results Found </h2>
<ul>
- <li *ngFor="let need of searchResults">
+ <li *ngFor="let need of searchResults" id="need-button-{{need.id}}" (mouseenter) ="changeText(need.id, need.name + '(Click to view)')" (mouseleave)="changeText(need.id, need.name)" >
<button [routerLink]="'/need/' + need.id">
- {{need.name}}
+ <p id="need-label-{{need.id}}">{{need.name}}</p>
<button (click)="delete(need.id)" *ngIf="isManager()">
<img class="icon" src="/delete.png" alt="Delete">
</button>