Quellcode durchsuchen

renamed some button on concernement admin #2336

bach vor 6 Monaten
Ursprung
Commit
c71a70c26d
1 geänderte Dateien mit 9 neuen und 2 gelöschten Zeilen
  1. 9 2
      src/web/themes/custom/ouatminimal_theme/ouatminimal.theme

+ 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']);