Sfoglia il codice sorgente

renamed some button on concernement admin #2336

bach 1 anno fa
parent
commit
c71a70c26d

+ 9 - 2
src/web/themes/custom/ouatminimal_theme/ouatminimal.theme

@@ -210,8 +210,15 @@ function ouatminimal_preprocess_input(&$variables) {
       $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Créer le besoin";
     } 
     
-    
-    
+    // doléancer
+    // edit-field-doleancer-actions-ief-add
+    if (preg_match('/^ief-field_doleancer-form-add$/', $name)) {
+      $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter un cercle politique";
+    }
+    // edit-field-doleancer-form-0-actions-ief-add-save--E6Z4e2r-uAU
+    if (preg_match('/^ief-add-submit-field_doleancer-form$/', $name)) {
+      $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Enregistrer le cercle politique";
+    }
   }
   if ($element['#type'] === "text" || $element['#type'] === "url") {
     unset($variables['element']['#size']);