adding working privacy policy

In order to archive GDPR compliance we need a privacy policy.
This commit is contained in:
Jochen Saalfeld 2018-05-22 13:10:01 +02:00
parent 7ab5611a50
commit 9e66f05603
No known key found for this signature in database
GPG Key ID: 8ACD4E8264B67DF4
4 changed files with 33 additions and 1 deletions

View File

@ -57,6 +57,15 @@ def get_config_variables():
group='General',
subgroup='Event')
yield ConfigVariable(
name='general_event_privacy_policy',
default_value='',
input_type='markupText',
label='Privacy policy',
weight=132,
group='General',
subgroup='Event')
yield ConfigVariable(
name='general_event_welcome_title',
default_value='Welcome to OpenSlides',

View File

@ -359,6 +359,15 @@ angular.module('OpenSlidesApp.core.site', [
},
})
// privacy policy
.state('privacypolicy', {
url: '/privacypolicy',
controller: 'PrivacyPolicyCtrl',
data: {
title: gettext('Privacy policy'),
},
})
//config
.state('config', {
url: '/config',
@ -1180,6 +1189,9 @@ angular.module('OpenSlidesApp.core.site', [
}
])
// Privacy Policy Controller
.controller('PrivacyPolicyCtrl', function () {})
// Config Controller
.controller('ConfigCtrl', [
'$scope',
@ -2053,6 +2065,7 @@ angular.module('OpenSlidesApp.core.site', [
gettext('Event location');
gettext('Event organizer');
gettext('Legal notice');
gettext('Privacy policy');
gettext('Front page title');
gettext('Welcome to OpenSlides');
gettext('Front page text');

View File

@ -222,7 +222,8 @@
<!-- footer -->
<div id="footer">
&copy; Copyright by <a href="http://www.openslides.org" target="_blank">OpenSlides</a> |
<a ui-sref="legalnotice" translate>Legal notice</a>
<a ui-sref="legalnotice" translate>Legal notice</a> |
<a ui-sref="privacypolicy" translate>Privacy Policy</a>
</div><!--end footer-->
</div>

View File

@ -0,0 +1,9 @@
<div class="header">
<div class="title">
<h1 translate>Privacy Policy</h1>
</div>
</div>
<div class="details">
<div ng-bind-html="config('general_event_privacy_policy') | translate"></div>
</div>