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:
		@@ -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'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user