瀏覽代碼

fixed entries translation bug

Bachir Soussi Chiadmi 6 年之前
父節點
當前提交
b33159e3d0

+ 23 - 0
sites/default/config/sync/pathauto.pattern.taxonomy_entrees.yml

@@ -0,0 +1,23 @@
+uuid: c165ad8c-6dbf-4a3a-9c91-639595a3b980
+langcode: fr
+status: true
+dependencies:
+  module:
+    - ctools
+    - taxonomy
+id: taxonomy_entrees
+label: 'Taxonomy entrees'
+type: 'canonical_entities:taxonomy_term'
+pattern: '[term:vocabulary]/[term:name]'
+selection_criteria:
+  bfdafa2f-bf98-46de-ad4a-2bb5bc88de38:
+    id: 'entity_bundle:taxonomy_term'
+    bundles:
+      entrees: entrees
+    negate: false
+    context_mapping:
+      taxonomy_term: taxonomy_term
+    uuid: bfdafa2f-bf98-46de-ad4a-2bb5bc88de38
+selection_logic: and
+weight: -5
+relationships: {  }

+ 1 - 0
sites/default/config/sync/user.role.admin.yml

@@ -75,6 +75,7 @@ permissions:
   - 'schedule corpus_documents workflow_transition'
   - 'schedule generique workflow_transition'
   - 'translate enregistrement node'
+  - 'translate entrees taxonomy_term'
   - 'translate evenement node'
   - 'translate page node'
   - 'translate static node'

+ 1 - 0
sites/default/config/sync/user.role.root.yml

@@ -242,6 +242,7 @@ permissions:
   - 'synchronize configuration'
   - 'translate any entity'
   - 'translate enregistrement node'
+  - 'translate entrees taxonomy_term'
   - 'translate evenement node'
   - 'translate fil node'
   - 'translate interface'

+ 20 - 6
sites/default/config/sync/views.view.entree_s_.yml

@@ -90,12 +90,21 @@ display:
           summary: ''
           description: ''
           columns:
+            field_color: field_color
             name: name
             field_workflow: name
             edit_taxonomy_term: name
+            operations: name
             description__value: description__value
             field_notice: field_notice
           info:
+            field_color:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
             name:
               sortable: false
               default_sort_order: asc
@@ -117,6 +126,11 @@ display:
               separator: ''
               empty_column: false
               responsive: ''
+            operations:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
             description__value:
               align: ''
               separator: ''
@@ -310,14 +324,14 @@ display:
           separator: ', '
           field_api_classes: false
           plugin_id: field
-        edit_taxonomy_term:
-          id: edit_taxonomy_term
+        operations:
+          id: operations
           table: taxonomy_term_data
-          field: edit_taxonomy_term
+          field: operations
           relationship: none
           group_type: group
           admin_label: ''
-          label: 'Lien pour modifier Taxonomy term'
+          label: 'Liens d''actions'
           exclude: false
           alter:
             alter_text: false
@@ -358,9 +372,9 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          text: modifier
+          destination: true
           entity_type: taxonomy_term
-          plugin_id: entity_link_edit
+          plugin_id: entity_operations
         description__value:
           id: description__value
           table: taxonomy_term_field_data

+ 11 - 11
sites/default/config/sync/workflow_access.role.yml

@@ -6,15 +6,15 @@ corpus_documents_double_fond:
   collectionneur:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   admin:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   root:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   anonymous:
     grant_view: 0
     grant_update: 0
@@ -35,11 +35,11 @@ corpus_documents_publie:
   admin:
     grant_view: 0
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   root:
     grant_view: 0
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   anonymous:
     grant_view: true
     grant_update: 0
@@ -114,15 +114,15 @@ corpus_documents_sas:
   collectionneur:
     grant_view: true
     grant_update: 0
-    grant_delete: 0
+    grant_delete: true
   admin:
     grant_view: true
     grant_update: 0
-    grant_delete: 0
+    grant_delete: true
   root:
     grant_view: true
     grant_update: 0
-    grant_delete: 0
+    grant_delete: true
   anonymous:
     grant_view: 0
     grant_update: 0
@@ -139,15 +139,15 @@ corpus_documents_masque:
   collectionneur:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   admin:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   root:
     grant_view: true
     grant_update: true
-    grant_delete: 0
+    grant_delete: true
   anonymous:
     grant_view: 0
     grant_update: 0