mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-25 12:21:31 +00:00
Display a given user's total score.
This commit is contained in:
parent
1bf8661834
commit
0b7e5a5b55
1 changed files with 3 additions and 0 deletions
3
ui/src/components/user.tsx
vendored
3
ui/src/components/user.tsx
vendored
|
@ -356,6 +356,9 @@ export class User extends Component<any, UserState> {
|
||||||
<div>
|
<div>
|
||||||
{i18n.t('joined')} <MomentTime data={user} />
|
{i18n.t('joined')} <MomentTime data={user} />
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
{i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })}
|
||||||
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-bordered table-sm mt-2 mb-0">
|
<table class="table table-bordered table-sm mt-2 mb-0">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue