Change privacy policy to be rendered in web UI, add REST API (#19310)

Source string no longer localized, Markdown instead of raw HTML
This commit is contained in:
Eugen Rochko
2022-10-08 06:01:11 +02:00
committed by GitHub
parent 7fb738c837
commit a2ba011326
15 changed files with 282 additions and 112 deletions

View File

@ -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'