diff options
author | Dessalines <tyhou13@gmx.com> | 2020-03-04 13:52:11 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-03-04 13:52:11 -0500 |
commit | 2c2918cc9e5e35c0b108b5daeeb2ccfbdee33e0c (patch) | |
tree | c25021fca1171b34794ea7652d5b26d0c8511849 /ui/src/components/post-listing.tsx | |
parent | fb355188487bcd1e4185b8a034f95560cc28946d (diff) |
Moving comment voting to action bar. Adding plurals.
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r-- | ui/src/components/post-listing.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index b6cb3f51..e170c711 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -266,7 +266,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <use xlinkHref="#icon-arrow-up"></use> </svg> </button> - <div class={`unselectable font-weight-bold text-muted px-1`}> + <div + class={`unselectable pointer font-weight-bold text-muted px-1`} + data-tippy-content={i18n.t('number_of_points', { + count: this.state.score, + })} + > {this.state.score} </div> {WebSocketService.Instance.site.enable_downvotes && ( |