Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
895
Issues
895
List
Boards
Labels
Service Desk
Milestones
Merge Requests
47
Merge Requests
47
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
9ed37dfe
Commit
9ed37dfe
authored
1 hour ago
by
Guy Thouret
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) Add user state tooltip to token contributions next to reward multiplier -
#1858
parent
8f28c461
feat/588-state-on-user
1 merge request
!464
Rewards Notifications
Pipeline
#80760171
failed with stages
in 7 minutes and 43 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
overview.component.html
...dules/wallet/tokens/contributions/overview.component.html
+3
-0
overview.component.scss
...dules/wallet/tokens/contributions/overview.component.scss
+10
-0
overview.component.ts
...modules/wallet/tokens/contributions/overview.component.ts
+1
-0
No files found.
src/app/modules/wallet/tokens/contributions/overview.component.html
View file @
9ed37dfe
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/wallet/tokens/contributions/overview.component.scss
View file @
9ed37dfe
...
...
@@ -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
;
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/wallet/tokens/contributions/overview.component.ts
View file @
9ed37dfe
...
...
@@ -42,6 +42,7 @@ export class WalletTokenContributionsOverviewComponent
jury_duty
:
null
,
},
};
user
=
this
.
session
.
getLoggedInUser
();
protected
updateTimer$
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment