Some corrections to total user points.

This commit is contained in:
Dessalines 2020-02-04 11:29:54 -05:00
parent ae6c6ea055
commit 2286394f79
3 changed files with 8 additions and 6 deletions

View File

@ -356,11 +356,15 @@ 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">
<div class="table-responsive mt-1">
<table class="table table-bordered table-sm mt-2 mb-0">
<tr>
<td class="text-center" colSpan={2}>
{i18n.t('number_of_points', {
count: user.post_score + user.comment_score,
})}
</td>
</tr>
<tr>
<td>
{i18n.t('number_of_points', { count: user.post_score })}

View File

@ -74,7 +74,6 @@ export const de = {
number_of_users: '{{count}} Benutzer',
number_of_subscribers: '{{count}} Abonnenten',
number_of_points: '{{count}} Punkte',
total_number_of_points: '{{count}} Gesamtpunkte',
number_online: '{{count}} Benutzer online',
name: 'Name',
title: 'Titel',

View File

@ -81,7 +81,6 @@ export const en = {
number_of_users: '{{count}} Users',
number_of_subscribers: '{{count}} Subscribers',
number_of_points: '{{count}} Points',
total_number_of_points: '{{count}} Total Points',
number_online: '{{count}} Users Online',
name: 'Name',
title: 'Title',