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:
parent
7fb738c837
commit
a2ba011326
15 changed files with 282 additions and 112 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue