2019-04-18 12:30:00 +02:00
< div class = "panel panel-default m-t-md" >
2020-02-26 12:20:33 +01:00
< div class = "panel-heading" >
2020-05-12 15:04:06 +02:00
< span class = "font-sbold" translate > {{ 'app.admin.settings.privacy.privacy_policy' }}< / span >
2020-02-26 12:20:33 +01:00
< / div >
2019-04-18 12:30:00 +02:00
< div class = "panel-body" >
< div class = "row" >
2020-05-12 15:04:06 +02:00
< div class = "col-md-6 col-md-offset-1" >
2020-02-25 11:40:01 +01:00
< select class = "form-control m-b history-select" ng-options = "d.id as d.name for d in privacyDraftsHistory" ng-model = "privacyPolicy.version" ng-change = "handlePolicyRevisionChange()" >
2019-12-17 18:06:56 +01:00
< option value = "" translate > {{ 'app.admin.settings.privacy.current_policy' }}< / option >
2019-04-18 15:57:56 +02:00
< / select >
2019-12-17 18:06:56 +01:00
< div class = "text-justify" ng-model = "privacyPolicy.bodyTemp" medium-editor options = '{"placeholder": " { { " app . admin . settings . input_the_main_content " | translate } } " ,
2019-04-18 12:30:00 +02:00
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
}'>
< / div >
2019-12-17 18:06:56 +01:00
< span class = "help-block text-info text-xs" > < i class = "fa fa-lightbulb-o" > < / i > {{ 'app.admin.settings.drag_and_drop_to_insert_images' | translate }}< / span >
< button name = "button" class = "btn btn-warning" ng-click = "savePrivacyPolicy()" translate > {{ 'app.shared.buttons.save' }}< / button >
2019-04-18 12:30:00 +02:00
< / div >
2020-05-12 15:04:06 +02:00
< div class = "col-md-3 col-md-offset-1" >
2019-12-17 18:06:56 +01:00
< div ng-model = "privacyDpoSetting.value" medium-editor options = '{"placeholder": " { { " app . admin . settings . privacy . input_the_dpo " | translate } } " ,
2019-04-18 12:30:00 +02:00
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
}'>
< / div >
2019-12-17 18:06:56 +01:00
< span class = "help-block text-info text-xs" > < i class = "fa fa-lightbulb-o" > < / i > {{ 'app.admin.settings.shift_enter_to_force_carriage_return' | translate }}< / span >
< button name = "button" class = "btn btn-warning" ng-click = "save(privacyDpoSetting)" translate > {{ 'app.shared.buttons.save' }}< / button >
2019-04-18 12:30:00 +02:00
< / div >
< / div >
2020-02-26 12:20:33 +01:00
< / div >
< / div >
2019-04-18 12:30:00 +02:00
2020-02-26 12:20:33 +01:00
< div class = "panel panel-default m-t-md" >
< div class = "panel-heading" >
< span class = "font-sbold" translate > {{ 'app.admin.settings.privacy.analytics.title' }}< / span >
< / div >
< div class = "panel-body" >
2020-01-15 10:46:04 +01:00
< div class = "row" >
2020-02-26 12:20:33 +01:00
< div class = "col-md-10 col-md-offset-1" >
2020-05-12 15:04:06 +02:00
< label for = "fab_analytics" translate > {{ 'app.admin.settings.fab_analytics' }}< / label >
2020-01-15 10:46:04 +01:00
< input bs-switch
ng-model="fabAnalytics.value"
2020-05-12 15:04:06 +02:00
id="fab_analytics"
2020-01-15 10:46:04 +01:00
type="checkbox"
class="form-control"
switch-on-text="{{ 'app.shared.buttons.yes' | translate }}"
switch-off-text="{{ 'app.shared.buttons.no' | translate }}"
switch-animate="true"/>
< p >
< span translate > {{ 'app.admin.settings.privacy.about_analytics' }}< / span >
2020-01-15 12:48:55 +01:00
< a ng-click = "analyticsModal()" class = "pointer" translate > {{ 'app.admin.settings.privacy.read_more' }}< / a >
2020-01-15 10:46:04 +01:00
< / p >
< button name = "button" class = "btn btn-warning" ng-click = "save(fabAnalytics)" translate > {{ 'app.shared.buttons.save' }}< / button >
< / div >
< / div >
2019-04-18 12:30:00 +02:00
< / div >
< / div >
2020-05-12 15:04:06 +02:00
< div class = "panel panel-default m-t-md" >
< div class = "panel-heading" >
< span class = "font-sbold" translate > {{ 'app.admin.settings.privacy.various_settings' }}< / span >
< / div >
< div class = "panel-body" >
< p class = "alert alert-warning m-t" translate >
{{ 'app.admin.settings.privacy.phone_required_info' }}
< / p >
< div class = "row" >
< div class = "col-md-10 col-md-offset-1" >
< label for = "phone_required" translate > {{ 'app.admin.settings.privacy.phone_required' }}< / label >
< input bs-switch
ng-model="phoneRequired.value"
id="phone_required"
type="checkbox"
class="form-control"
switch-on-text="{{ 'app.shared.buttons.yes' | translate }}"
switch-off-text="{{ 'app.shared.buttons.no' | translate }}"
switch-animate="true"/>
< button name = "button" class = "btn btn-warning m-l" ng-click = "save(phoneRequired)" translate > {{ 'app.shared.buttons.save' }}< / button >
< / div >
< / div >
2020-05-13 16:28:32 +02:00
< p class = "alert alert-warning m-t" ng-bind-html = "'app.admin.settings.privacy.google_analytics_info_html' | translate" > < / p >
< div class = "row" >
< div class = "col-md-4 col-md-offset-1" >
< label for = "google_analytics" translate > {{ 'app.admin.settings.privacy.google_analytics' }}< / label >
< input ng-model = "googleAnalytics.value"
id="google_analytics"
type="text"
class="form-control"
placeholder="UA-000000-2"
/>
< button name = "button" class = "btn btn-warning m-t" ng-click = "save(googleAnalytics)" translate > {{ 'app.shared.buttons.save' }}< / button >
< / div >
< / div >
2020-05-12 15:04:06 +02:00
< / div >
< / div >