From: Dessalines Date: Thu, 26 May 2022 20:48:58 +0000 (-0400) Subject: Legal info dess (#666) X-Git-Url: http://these/git/%7BdocsUrl%7D?a=commitdiff_plain;h=36297366fa4fcd11cef46990f1cfdaee10dded2e;p=lemmy-ui.git Legal info dess (#666) * Add legal information (fixes #652) * add legal_info field to SiteForm, add missing file * Moving legal to SiteForm. Co-authored-by: Felix Ableitner --- diff --git a/lemmy-translations b/lemmy-translations index 1cbac3a..29c689a 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 1cbac3a1521e26b9b5c1c97a0c9852655ddcf00b +Subproject commit 29c689af8d16417c1b84d9491f6bcea888720a87 diff --git a/src/shared/components/app/footer.tsx b/src/shared/components/app/footer.tsx index d4edd78..601551b 100644 --- a/src/shared/components/app/footer.tsx +++ b/src/shared/components/app/footer.tsx @@ -32,6 +32,13 @@ export class Footer extends Component { {i18n.t("modlog")} + {this.props.site.site_view?.site.legal_information && ( +
  • + + {i18n.t("legal_information")} + +
  • + )} {this.props.site.federated_instances && (