Merge pull request #3751 from jsaalfeld/dsgvo
adding working privacy policy
This commit is contained in:
commit
e52910a67b
@ -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',
|
||||
|
@ -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');
|
||||
|
@ -222,7 +222,8 @@
|
||||
<!-- footer -->
|
||||
<div id="footer">
|
||||
© 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>
|
||||
|
||||
|
9
openslides/core/static/templates/privacypolicy.html
Normal file
9
openslides/core/static/templates/privacypolicy.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user