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" >
2020-10-28 12:10:25 +01:00
< div class = "row about-fablab" >
2020-10-26 16:52:05 +01:00
< div class = "col-md-8" >
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-10-26 16:52:05 +01:00
< div class = "col-md-3" >
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-20 15:42:54 +02:00
< boolean-setting
2022-03-18 19:44:30 +01:00
name="'fab_analytics'"
label="'app.admin.settings.fab_analytics' | translate"
on-success="onSuccess"
on-error="onError">
2020-05-20 15:42:54 +02:00
< / boolean-setting >
2020-01-15 10:46:04 +01:00
< p >
< span translate > {{ 'app.admin.settings.privacy.about_analytics' }}< / span >
2020-10-28 12:10:25 +01:00
< a ng-click = "analyticsModal()" class = "pointer collected-infos" translate > {{ 'app.admin.settings.privacy.read_more' }}< / a >
2020-01-15 10:46:04 +01:00
< / p >
< / div >
< / div >
2019-04-18 12:30:00 +02:00
< / div >
< / div >
2020-05-12 15:04:06 +02:00
2020-05-27 12:29:45 +02:00
< div class = "panel panel-default m-t-md" >
< div class = "panel-heading" >
< span class = "font-sbold" translate > {{ 'app.admin.settings.privacy.statistics' }}< / span >
< / div >
< div class = "panel-body" >
< p class = "alert alert-info" > < i class = "fa fa-info-circle m-r" > < / i > < span translate > {{ 'app.admin.settings.remember_to_refresh_the_page_for_the_changes_to_take_effect' }}< / span > < / p >
2020-05-13 16:28:32 +02:00
< div class = "row" >
2020-05-27 12:29:45 +02:00
< h3 class = "m-l" translate > {{ 'app.admin.settings.privacy.google_analytics' }}< / h3 >
< p class = "alert alert-warning m-h-md" ng-bind-html = "'app.admin.settings.privacy.tracking_id_info_html' | translate" > < / p >
2020-05-13 16:28:32 +02:00
< div class = "col-md-4 col-md-offset-1" >
2020-05-27 11:18:26 +02:00
< text-setting name = "tracking_id"
settings="allSettings"
label="app.admin.settings.privacy.tracking_id"
placeholder="UA-000000-2">
< / text-setting >
2020-05-13 16:28:32 +02:00
< / div >
< / div >
2020-05-12 15:04:06 +02:00
2020-05-27 12:29:45 +02:00
< div class = "row" >
< h3 class = "m-l" translate > {{ 'app.admin.settings.privacy.facebook' }}< / h3 >
< p class = "alert alert-warning m-h-md" ng-bind-html = "'app.admin.settings.privacy.facebook_info_html' | translate" > < / p >
< div class = "col-md-4 col-md-offset-1" >
< text-setting name = "facebook_app_id"
settings="allSettings"
label="app.admin.settings.privacy.app_id"
placeholder="000000000000000">
< / text-setting >
< / div >
< / div >
2020-05-27 15:39:39 +02:00
< div class = "row" >
< h3 class = "m-l" translate > {{ 'app.admin.settings.privacy.twitter' }}< / h3 >
< p class = "alert alert-warning m-h-md" ng-bind-html = "'app.admin.settings.privacy.twitter_info_html' | translate" > < / p >
< div class = "col-md-4 col-md-offset-1" >
< text-setting name = "twitter_analytics"
settings="allSettings"
label="app.admin.settings.privacy.twitter_analytics"
placeholder="@username">
< / text-setting >
< / div >
< / div >
2020-05-12 15:04:06 +02:00
< / div >
2020-05-20 15:42:54 +02:00
< / div >