forked from nutomic/lemmy
Hide user karma on details page. Fixes #585
This commit is contained in:
parent
22d75990b7
commit
a0e497b793
1 changed files with 6 additions and 0 deletions
6
ui/src/components/user.tsx
vendored
6
ui/src/components/user.tsx
vendored
|
@ -363,6 +363,7 @@ export class User extends Component<any, UserState> {
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive mt-1">
|
<div class="table-responsive mt-1">
|
||||||
<table class="table table-bordered table-sm mt-2 mb-0">
|
<table class="table table-bordered table-sm mt-2 mb-0">
|
||||||
|
{/*
|
||||||
<tr>
|
<tr>
|
||||||
<td class="text-center" colSpan={2}>
|
<td class="text-center" colSpan={2}>
|
||||||
{i18n.t('number_of_points', {
|
{i18n.t('number_of_points', {
|
||||||
|
@ -370,18 +371,23 @@ export class User extends Component<any, UserState> {
|
||||||
})}
|
})}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
*/}
|
||||||
<tr>
|
<tr>
|
||||||
|
{/*
|
||||||
<td>
|
<td>
|
||||||
{i18n.t('number_of_points', { count: user.post_score })}
|
{i18n.t('number_of_points', { count: user.post_score })}
|
||||||
</td>
|
</td>
|
||||||
|
*/}
|
||||||
<td>
|
<td>
|
||||||
{i18n.t('number_of_posts', { count: user.number_of_posts })}
|
{i18n.t('number_of_posts', { count: user.number_of_posts })}
|
||||||
</td>
|
</td>
|
||||||
|
{/*
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{i18n.t('number_of_points', { count: user.comment_score })}
|
{i18n.t('number_of_points', { count: user.comment_score })}
|
||||||
</td>
|
</td>
|
||||||
|
*/}
|
||||||
<td>
|
<td>
|
||||||
{i18n.t('number_of_comments', {
|
{i18n.t('number_of_comments', {
|
||||||
count: user.number_of_comments,
|
count: user.number_of_comments,
|
||||||
|
|
Loading…
Reference in a new issue