diff --git a/openslides/core/config_variables.py b/openslides/core/config_variables.py index 843ed6b2b..ff7a47898 100644 --- a/openslides/core/config_variables.py +++ b/openslides/core/config_variables.py @@ -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', diff --git a/openslides/core/static/js/core/site.js b/openslides/core/static/js/core/site.js index 04aa5167d..fc2319d53 100644 --- a/openslides/core/static/js/core/site.js +++ b/openslides/core/static/js/core/site.js @@ -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'); diff --git a/openslides/core/static/templates/index.html b/openslides/core/static/templates/index.html index 581404fdc..0104a821b 100644 --- a/openslides/core/static/templates/index.html +++ b/openslides/core/static/templates/index.html @@ -222,7 +222,8 @@ diff --git a/openslides/core/static/templates/privacypolicy.html b/openslides/core/static/templates/privacypolicy.html new file mode 100644 index 000000000..0376c70ef --- /dev/null +++ b/openslides/core/static/templates/privacypolicy.html @@ -0,0 +1,9 @@ +
+
+

Privacy Policy

+
+
+ +
+
+