feat(preferences): Add subtext in vacation filter to explain the behavior

This commit is contained in:
smizrahi
2023-06-21 16:33:54 +02:00
parent 8a8dcae029
commit 09d03261af
4 changed files with 14 additions and 1 deletions

View File

@@ -45,6 +45,7 @@
"Days between responses" = "Days between responses";
"Do not send responses to mailing lists" = "Do not send responses to mailing lists";
"Activation Constraints" = "Activation Constraints";
"Customize day and hour ranges independently and optionally combine them with specific weekdays to tailor your vacation filters to your preferences" = "Customize day and hour ranges independently and optionally combine them with specific weekdays to tailor your vacation filters to your preferences";
"Enable auto reply on" = "Enable auto reply on";
"First day of vacation" = "First day of vacation";
"Disable auto reply after" = "Disable auto reply after";

View File

@@ -45,6 +45,7 @@
"Days between responses" = "Nombre de jours entre les réponses d'absence";
"Do not send responses to mailing lists" = "Ne pas envoyer les réponses aux listes de diffusion";
"Activation Constraints" = "Conditions d'activation";
"Customize day and hour ranges independently and optionally combine them with specific weekdays to tailor your vacation filters to your preferences" = "Personnalisez les plages des jours et des heures indépendamment. Vous pouvez également les combiner avec des jours de la semaine spécifiques pour affiner votre filtre";
"Enable auto reply on" = "Débuter la réponse automatique le";
"First day of vacation" = "Premier jour d'absence";
"Disable auto reply after" = "Désactiver la réponse automatique après le";

View File

@@ -1160,8 +1160,11 @@
<var:if condition="isVacationPeriodEnabled">
<h4 class="md-title"><var:string label:value="Activation Constraints"/></h4>
<div layout="row" class="sub-information" layout-wrap="layout-wrap">
<var:string label:value="Customize day and hour ranges independently and optionally combine them with specific weekdays to tailor your vacation filters to your preferences"/>
</div>
<div layout="row" layout-wrap="layout-wrap">
<div class="md-block" flex="50" flex-xs="100">
<md-checkbox
ng-model="app.preferences.defaults.Vacation.startDateEnabled"

View File

@@ -3,4 +3,12 @@
.text-preview {
white-space: pre-wrap;
word-wrap: break-word;
}
.sub-information {
margin-bottom: 14px;
text-align: left;
font-size: 12px;
line-height: 14px;
font-weight: 600;
}