From: Richard Date: Fri, 31 Jan 2020 20:52:27 +0000 (+0100) Subject: usability features X-Git-Url: http://these/git/%22https:/image.com/%22%7B%7D/static/%7Bicon?a=commitdiff_plain;h=2f9a052f89fe8d34fedcd2219e644dd51cda5505;p=lemmy.git usability features This are all the commits from another PR combined into a single commit. --- diff --git a/ui/src/components/communities.tsx b/ui/src/components/communities.tsx index b1da9882..eef39ccf 100644 --- a/ui/src/components/communities.tsx +++ b/ui/src/components/communities.tsx @@ -76,37 +76,37 @@ export class Communities extends Component { return (
{this.state.loading ? ( -
+

-

+

) : (
- # + { i18n.t('list_of_communities') }
@@ -149,7 +149,7 @@ export class Communities extends Component { this.handleSubscribe )} > - # + { i18n.t('subscribe') } )} @@ -173,15 +173,16 @@ export class Communities extends Component { class="btn btn-sm btn-secondary mr-1" onClick={linkEvent(this, this.prevPage)} > - # + { i18n.t('prev') } )} + {this.state.communities.length == communityLimit && ( )} diff --git a/ui/src/components/community-form.tsx b/ui/src/components/community-form.tsx index c8d888be..46fc4185 100644 --- a/ui/src/components/community-form.tsx +++ b/ui/src/components/community-form.tsx @@ -108,12 +108,13 @@ export class CommunityForm extends Component< return (
-
+
-
- # + { i18n.t('name') } - # + { i18n.t('title') } - # + { i18n.t('category') } - # + { i18n.t('subscribers') } - # + { i18n.t('posts') } - # + { i18n.t('comments') }