Display a given user's total score.

This commit is contained in:
Richie Zhang 2020-02-03 15:20:59 -08:00 committed by GitHub
parent 1bf8661834
commit 0b7e5a5b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,6 +356,9 @@ export class User extends Component<any, UserState> {
<div>
{i18n.t('joined')} <MomentTime data={user} />
</div>
<div>
{i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })}
</div>
<div class="table-responsive">
<table class="table table-bordered table-sm mt-2 mb-0">
<tr>