diff options
author | benal01 <bja4245@rit.edu> | 2025-03-17 18:42:40 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-17 18:42:40 -0400 |
commit | 0287d0ebd22b88c2d41f2bdb67db812c35d9024c (patch) | |
tree | 715d6a2da27311defed76c8bd2ed4639c584dbf3 /ufund-ui/src/app/components/cupboard/cupboard.component.html | |
parent | 7057f8ad5e0aaf6527477a68c229db659cd674ff (diff) | |
download | JellySolutions-0287d0ebd22b88c2d41f2bdb67db812c35d9024c.tar.gz JellySolutions-0287d0ebd22b88c2d41f2bdb67db812c35d9024c.tar.bz2 JellySolutions-0287d0ebd22b88c2d41f2bdb67db812c35d9024c.zip |
hide admin only management elements if user is not an admin
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html index 23aaec7..65545e8 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -1,5 +1,6 @@ <h1> Cupboard </h1> -<div id="menu"> +<h2 *ngIf="isManager()" > Admin View </h2> +<div id="menu" *ngIf="isManager()"> <button (click)="opencreate()">Create new Need</button> <button (click)="openupdate()">Update existing Need</button> </div> |