about summary refs log tree commit diff
path: root/app/views/privacy
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-08 06:01:11 +0200
committerGitHub <noreply@github.com>2022-10-08 06:01:11 +0200
commita2ba01132603174c43c5788a95f9ee127b684c0a (patch)
tree3d5ab173a8a768f76cc14dc739ca64bedcdddf43 /app/views/privacy
parent7fb738c8372a700e1b42534cb202005b8c73b946 (diff)
Change privacy policy to be rendered in web UI, add REST API (#19310)
Source string no longer localized, Markdown instead of raw HTML
Diffstat (limited to 'app/views/privacy')
-rw-r--r--app/views/privacy/show.html.haml9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/views/privacy/show.html.haml b/app/views/privacy/show.html.haml
index cdd38a595..cfc285925 100644
--- a/app/views/privacy/show.html.haml
+++ b/app/views/privacy/show.html.haml
@@ -1,9 +1,4 @@
 - content_for :page_title do
-  = t('terms.title', instance: site_hostname)
+  = t('privacy_policy.title')
 
-.grid
-  .column-0
-    .box-widget
-      .rich-formatting= @instance_presenter.privacy_policy.html_safe.presence || t('terms.body_html')
-  .column-1
-    = render 'application/sidebar'
+= render 'shared/web_app'