Olivier Massot vor 10 Monaten
Ursprung
Commit
1aefa37e29

+ 4 - 2
components/Layout/Header.vue

@@ -39,7 +39,7 @@ Contient entre autres le nom de l'organisation, l'accès à l'aide et aux préf
 
     <a
       :href="runtimeConfig.public.supportUrl"
-      class="text-body px-3 py-4 ml-2 theme-secondary text-decoration-none h-100"
+      class="help theme-secondary"
       target="_blank"
     >
       <span class="d-none d-sm-none d-md-flex">
@@ -113,8 +113,10 @@ const layoutStore = useLayoutStore()
 
 <style scoped>
 .help {
-  padding: 14px 14px 13px;
+  padding: 12px 16px;
+  margin-left: 4px;
   font-size: 14px;
   text-decoration: none;
+  height: 100%;
 }
 </style>

+ 0 - 3
components/Ui/Form/DeletionConfirmationDialog.vue

@@ -1,8 +1,5 @@
 <template>
   <LazyLayoutDialog :show="modelValue">
-    <template #dialogType>
-      {{ $t('delete_assistant') }}
-    </template>
 
     <template #dialogTitle>
       {{ $t('caution') }}

+ 1 - 0
i18n/lang/fr.json

@@ -202,6 +202,7 @@
   "new_attendance_booking_reason": "Nouveau motif d'absence / retard",
   "reason": "Motif",
   "notifyAdministrationAbsence": "Prévenir l'administrateur en cas d'absences consécutives",
+  "numberConsecutiveAbsences": "Nombre d'absences consécutives",
   "sendAttendanceEmail": "Prévenir automatiquement la famille par mail en cas d'absence non justifiée",
   "sendAttendanceSms": "Prévenir automatiquement la famille par sms en cas d'absence non justifiée",
   "bulletinReceiver": "Adresser le bulletin à",

+ 2 - 1
pages/parameters/attendances.vue

@@ -27,8 +27,9 @@
             />
 
             <UiInputNumber
+              v-if="parameters.notifyAdministrationAbsence"
               v-model="parameters.numberConsecutiveAbsences"
-              field="notifyAdministrationAbsence"
+              field="numberConsecutiveAbsences"
               :rules="rules()"
             />
           </v-col>