From 2f9a052f89fe8d34fedcd2219e644dd51cda5505 Mon Sep 17 00:00:00 2001 From: Richard Date: Fri, 31 Jan 2020 21:52:27 +0100 Subject: usability features This are all the commits from another PR combined into a single commit. --- ui/src/components/post-listings.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ui/src/components/post-listings.tsx') diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index b65c9192..d3d89e54 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -2,6 +2,7 @@ import { Component } from 'inferno'; import { Link } from 'inferno-router'; import { Post } from '../interfaces'; import { PostListing } from './post-listing'; +import { i18n } from '../i18next'; import { T } from 'inferno-i18next'; interface PostListingsProps { @@ -30,14 +31,12 @@ export class PostListings extends Component { )) ) : ( <> -
- # -
+

+ { i18n.t('no_posts') } +

{this.props.showCommunity !== undefined && (
- - ## - + { i18n.t('subscribe_to_communities') }
)} -- cgit v1.2.3