Commit 9ed37dfe authored by Guy Thouret's avatar Guy Thouret

(feat) Add user state tooltip to token contributions next to reward multiplier - #1858

parent 8f28c461
Pipeline #80760171 failed with stages
in 7 minutes and 43 seconds
......@@ -55,6 +55,9 @@
<ng-container *ngIf="overview.yourRewardFactor !== null">
{{ overview.yourRewardFactor | number }}x
</ng-container>
<m-tooltip icon="help">
Current User State: <ng-container *ngIf="user.user_state !== null">{{ user.user_state }}</ng-container>
</m-tooltip>
</div>
</div>
</div>
......
......@@ -52,5 +52,15 @@
color: themed($m-grey-900);
}
}
m-tooltip {
vertical-align: middle;
i {
font-size: 12px;
@include m-theme() {
color: themed($m-grey-500) !important;
}
}
}
}
}
......@@ -42,6 +42,7 @@ export class WalletTokenContributionsOverviewComponent
jury_duty: null,
},
};
user = this.session.getLoggedInUser();
protected updateTimer$;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment