소스 검색

Merge remote-tracking branch 'origin/feature/add-presence-choice' into release/2.5.1

Olivier Massot 5 달 전
부모
커밋
9312fef755
3개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      assets/css/global.scss
  2. 2 0
      i18n/lang/fr.json
  3. 3 1
      pages/parameters/attendances.vue

+ 5 - 0
assets/css/global.scss

@@ -90,6 +90,11 @@ h4 {
   color: rgb(var(--v-theme-on-neutral));
 }
 
+h5 {
+  font-size: 1rem;
+  color: rgb(var(--v-theme-on-neutral));
+}
+
 // Encart informatif
 .explanation {
   display: flex;

+ 2 - 0
i18n/lang/fr.json

@@ -1,4 +1,6 @@
 {
+  "showing": "Affichage",
+  "alert": "Alertes",
   "handlePresence": "Affichage de la colonne \"présence\" dans le tableau de gestion des présences/absences/retards",
   "i_subscribe": "Je m'abonne",
   "price_include_cmf": "Inclus avec votre adhésion CMF",

+ 3 - 1
pages/parameters/attendances.vue

@@ -1,16 +1,18 @@
 <template>
   <div>
     <LayoutParametersSection v-if="organizationProfile.isSchool">
-      <h4>{{ $t('alert_configuration') }}</h4>
+      <h4>{{ $t('configuration') }}</h4>
       <UiLoadingPanel v-if="pending" />
       <UiForm v-else-if="parameters !== null" v-model="parameters">
         <v-row>
           <v-col cols="12">
+            <h5 class="pa-2">{{ $t('showing') }}</h5>
             <UiInputCheckbox
               v-model="parameters.handlePresence"
               field="handlePresence"
             />
 
+            <h5 class="pa-2">{{ $t('alert') }}</h5>
             <UiInputCheckbox
               v-model="parameters.sendAttendanceEmail"
               field="sendAttendanceEmail"