diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-03 07:58:13 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-03 07:58:52 -0400 |
commit | d7cbf88df5d8cb9e5b8feb563b787a3ac20816aa (patch) | |
tree | 3abb53e386aaa70b72118ae1b30301aba0c0bab7 | |
parent | cb6463630446503d441b37f3d62ec2d064b00269 (diff) | |
download | JellySolutions-d7cbf88df5d8cb9e5b8feb563b787a3ac20816aa.tar.gz JellySolutions-d7cbf88df5d8cb9e5b8feb563b787a3ac20816aa.tar.bz2 JellySolutions-d7cbf88df5d8cb9e5b8feb563b787a3ac20816aa.zip |
Updated statistics on dashboard
3 files changed, 8 insertions, 3 deletions
diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.html b/ufund-ui/src/app/components/dashboard/dashboard.component.html index 2d7b4c3..69ae66e 100644 --- a/ufund-ui/src/app/components/dashboard/dashboard.component.html +++ b/ufund-ui/src/app/components/dashboard/dashboard.component.html @@ -4,7 +4,12 @@ <!--<app-mini-need-list [needList]="almostThere" jtitle="Almost there" url="/cupboard"/>--> <!--<app-mini-need-list [needList]="inBasket" jtitle="In your basket" url="/basket"/>--> <span>_ Registered users</span> +<span *ngIf="count"> {{count | async}} </span> <span>_ Needs with overflow</span> -<span>_ Needs in peoples baskets</span> +<span>_ Fulfilled needs</span> +<span *ngIf="fulfilledNeeds"> {{fulfilledNeeds | async}} </span> +<span>_ Most fulfilled needs</span> +<app-mini-need-list [needList]="mostFulfilledNeeds.getValue()" jtitle="Most fulfilled"> </app-mini-need-list> <span>_ Total monetary contributions</span> +<span *ngIf="totalDonations">${{totalDonations | async}} </span> <span>_ </span> diff --git a/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.css b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.css index ac456ab..090bea9 100644 --- a/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.css +++ b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.css @@ -23,7 +23,7 @@ padding: 10px; gap: 10px; justify-content: start; - overflow: clip; + overflow: auto; } .needEntry { diff --git a/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html index a2de9e5..9febfa5 100644 --- a/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html +++ b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html @@ -1,6 +1,6 @@ <div id="header"> <span>{{jtitle}}</span> - <a [routerLink]="url">Show All<span class="icon">arrow_forward_ios</span></a> + <a *ngIf="url" [routerLink]="url">Show All<span class="icon">arrow_forward_ios</span></a> </div> <div id="needList"> |