Display a given user's total score.

pull/722/head
Richie Zhang 2020-02-03 15:20:59 -08:00 committed by GitHub
parent 45a8464dee
commit bf9a45e2a1
1 changed files with 3 additions and 0 deletions

View File

@ -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>