1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

Enlarged privacy policy display and edition zones

This commit is contained in:
Sylvain 2020-10-26 16:52:05 +01:00
parent 181ec38192
commit dc844bb10c
7 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,6 @@
# Changelog Fab-manager
- Enlarged privacy policy display and edition zones
- Removed fab-manager email address from the seeds
- Fix a bug: in the settings area, boolean switches are always shown as false

View File

@ -5,7 +5,7 @@
<div class="panel-body">
<div class="row">
<div class="col-md-6 col-md-offset-1">
<div class="col-md-8">
<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()">
<option value="" translate>{{ 'app.admin.settings.privacy.current_policy' }}</option>
</select>
@ -17,7 +17,7 @@
<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>
</div>
<div class="col-md-3 col-md-offset-1">
<div class="col-md-3">
<div ng-model="privacyDpoSetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.privacy.input_the_dpo" | translate }}",
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
}'>

View File

@ -8,7 +8,7 @@
</div>
<div class="row padder">
<div class="col-sm-offset-1 col-md-offset-3 col-sm-7 col-md-5 col-lg-4 m-b-lg">
<div class="col-md-offset-1 col-md-8 m-b-lg">
<div class="last-update text-gray">
<span translate>{{ 'app.public.privacy.last_update' }}</span>
<span>{{ privacyBody.last_update | amDateFormat:'LL' }}</span>
@ -16,7 +16,7 @@
<span ng-bind-html="privacyBody.value"></span>
</div>
<div class="col-sm-offset-0 col-md-offset-0 col-lg-offset-1 col-sm-4 col-md-4" ng-show="privacyDpo.value">
<div class="col-md-3" ng-show="privacyDpo.value">
<h2 class="about-title-aside text-u-c" translate>{{ 'app.public.privacy.dpo' }}</h2>
<span ng-bind-html="privacyDpo.value"></span>
</div>

View File

@ -1161,7 +1161,7 @@ en:
privacy:
title: "Privacy"
privacy_policy: "Privacy policy"
input_the_dpo: "Input the contact of the Data Protection Officer"
input_the_dpo: "Data Protection Officer"
current_policy: "Current policy"
draft_from_USER_DATE: "Draft, saved by {USER}, on {DATE}"
save_or_publish: "Save or publish?"

View File

@ -1161,7 +1161,7 @@ es:
privacy:
title: "Privacidad"
privacy_policy: "Política de privacidad"
input_the_dpo: "Input the contact of the Data Protection Officer"
input_the_dpo: "Data Protection Officer"
current_policy: "Política de privacidad"
draft_from_USER_DATE: "Borrador, guardado por {USER}, el {DATE}"
save_or_publish: "Save or publish?"

View File

@ -1161,7 +1161,7 @@ fr:
privacy:
title: "Confidentialité"
privacy_policy: "Politique de confidentialité"
input_the_dpo: "Saisir le contact du Délégué à la protection des données"
input_the_dpo: "Délégué à la protection des données"
current_policy: "Politique courante"
draft_from_USER_DATE: "Brouillon, enregistré par {USER}, le {DATE}"
save_or_publish: "Enregistrer ou publier ?"

View File

@ -1161,7 +1161,7 @@ pt:
privacy:
title: "Privacidade"
privacy_policy: "Política de privacidade"
input_the_dpo: "Input the contact of the Data Protection Officer"
input_the_dpo: "Data Protection Officer"
current_policy: "Current policy"
draft_from_USER_DATE: "Draft, saved by {USER}, on {DATE}"
save_or_publish: "Save or publish?"