]> Untitled Git - lemmy.git/commitdiff
Display a given user's total score.
authorRichie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>
Mon, 3 Feb 2020 23:20:59 +0000 (15:20 -0800)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 23:20:59 +0000 (15:20 -0800)
ui/src/components/user.tsx

index ebdf6d5b0019a9898ff06bd70a395f4169747118..329fff82bcd52faa15d402d0a0aee09a0d484f2f 100644 (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>