From 839c073aba4a16eedfcb4782d7851f6130ea83e4 Mon Sep 17 00:00:00 2001 From: Blake Mason Date: Tue, 8 Aug 2023 09:55:07 -0700 Subject: [PATCH] [F] NewsAssets links are translatable --- ...-c11d26d4-236a-4b06-99f6-3a8f67821ada.yaml | 4 +- ...-9a5411c3-bbd7-4f75-a62a-498711e141e4.yaml | 27 ++++++---- ...-f456f3b4-70e5-4692-b114-31a9c47443e9.yaml | 24 +++++++-- ...-afe3ef3c-add3-45cc-b88b-d01559eb7b32.yaml | 15 ++++-- ...-9b45a4e3-4461-43d1-881a-ef72029ba2ad.yaml | 36 ++++++++++--- ...-31b350fb-6fbd-4533-b006-4c287f689ed3.yaml | 51 ++++++++++++++----- api/config/project/project.yaml | 2 +- 7 files changed, 116 insertions(+), 43 deletions(-) diff --git a/api/config/project/fields/newsAssets--c11d26d4-236a-4b06-99f6-3a8f67821ada.yaml b/api/config/project/fields/newsAssets--c11d26d4-236a-4b06-99f6-3a8f67821ada.yaml index fca9c6ec..5cd0067a 100644 --- a/api/config/project/fields/newsAssets--c11d26d4-236a-4b06-99f6-3a8f67821ada.yaml +++ b/api/config/project/fields/newsAssets--c11d26d4-236a-4b06-99f6-3a8f67821ada.yaml @@ -7,8 +7,8 @@ name: 'News Assets' searchable: false settings: contentTable: '{{%matrixcontent_newsassets}}' - maxBlocks: '' - minBlocks: '' + maxBlocks: null + minBlocks: null propagationKeyFormat: null propagationMethod: all translationKeyFormat: null diff --git a/api/config/project/matrixBlockTypes/externalLink--9a5411c3-bbd7-4f75-a62a-498711e141e4.yaml b/api/config/project/matrixBlockTypes/externalLink--9a5411c3-bbd7-4f75-a62a-498711e141e4.yaml index 04967725..ec886018 100644 --- a/api/config/project/matrixBlockTypes/externalLink--9a5411c3-bbd7-4f75-a62a-498711e141e4.yaml +++ b/api/config/project/matrixBlockTypes/externalLink--9a5411c3-bbd7-4f75-a62a-498711e141e4.yaml @@ -3,63 +3,70 @@ fieldLayouts: 908d7981-63ac-461e-81c4-da6c921a1db9: tabs: - + elementCondition: null elements: - + elementCondition: null fieldUid: c4060079-e438-4c63-8b06-77cdea857fd9 # Text instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: 0ef5bcd0-dedc-49a0-a6a5-270375c631da + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 95b97a67-eccb-4910-b0e8-77f5860058b4 # Link instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: 0507c8c2-bc3e-478b-9e05-cff2ee9cd829 + userCondition: null warning: null width: 100 name: Content - sortOrder: 1 + uid: 8ee31f08-b7f0-4d3c-92da-a89f023a66db + userCondition: null fields: 95b97a67-eccb-4910-b0e8-77f5860058b4: # Link columnSuffix: null contentColumnType: string(255) fieldGroup: null handle: externalLink - instructions: '' + instructions: null name: Link searchable: false settings: - maxLength: '255' - placeholder: '' + maxLength: 255 types: - url translationKeyFormat: null - translationMethod: none + translationMethod: site type: craft\fields\Url c4060079-e438-4c63-8b06-77cdea857fd9: # Text columnSuffix: null contentColumnType: text fieldGroup: null handle: text - instructions: '' + instructions: null name: Text searchable: false settings: byteLimit: null charLimit: null - code: '' + code: false columnType: null - initialRows: '4' - multiline: '' + initialRows: 4 + multiline: false placeholder: null uiMode: normal translationKeyFormat: null - translationMethod: none + translationMethod: site type: craft\fields\PlainText handle: externalLink name: 'External Link' diff --git a/api/config/project/matrixBlockTypes/galleryItem--f456f3b4-70e5-4692-b114-31a9c47443e9.yaml b/api/config/project/matrixBlockTypes/galleryItem--f456f3b4-70e5-4692-b114-31a9c47443e9.yaml index 6e86d12e..41290df9 100644 --- a/api/config/project/matrixBlockTypes/galleryItem--f456f3b4-70e5-4692-b114-31a9c47443e9.yaml +++ b/api/config/project/matrixBlockTypes/galleryItem--f456f3b4-70e5-4692-b114-31a9c47443e9.yaml @@ -3,18 +3,23 @@ fieldLayouts: 735b7a3e-8f34-47ba-8b65-d9c1571564ca: tabs: - + elementCondition: null elements: - + elementCondition: null fieldUid: 1e0c12ac-5dd7-4ed2-8cda-3801130b11e1 # Gallery Item instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: 13ab475a-2edb-4c60-abb2-fb809720f447 + userCondition: null warning: null width: 100 name: Content - sortOrder: 1 + uid: 356fb460-95a0-4f65-b622-1acfc19c1d4d + userCondition: null fields: 1e0c12ac-5dd7-4ed2-8cda-3801130b11e1: # Gallery Item columnSuffix: null @@ -26,11 +31,24 @@ fields: searchable: false settings: allowSelfRelations: false - limit: '1' + branchLimit: null localizeRelations: false + maintainHierarchy: false + maxRelations: 1 + minRelations: null + selectionCondition: + __assoc__: + - + - elementType + - craft\elements\Entry + - + - fieldContext + - global + - + - class + - craft\elements\conditions\entries\EntryCondition selectionLabel: 'Select a gallery item' showSiteMenu: false - source: null sources: - 'section:3a8b9653-cdd3-46ce-84b2-d73b5dc4de63' # Gallery targetSiteId: null diff --git a/api/config/project/matrixBlockTypes/header--afe3ef3c-add3-45cc-b88b-d01559eb7b32.yaml b/api/config/project/matrixBlockTypes/header--afe3ef3c-add3-45cc-b88b-d01559eb7b32.yaml index b4b968da..61c3a621 100644 --- a/api/config/project/matrixBlockTypes/header--afe3ef3c-add3-45cc-b88b-d01559eb7b32.yaml +++ b/api/config/project/matrixBlockTypes/header--afe3ef3c-add3-45cc-b88b-d01559eb7b32.yaml @@ -3,34 +3,39 @@ fieldLayouts: 007709ed-b343-4721-9b2a-e6874c493fe6: tabs: - + elementCondition: null elements: - + elementCondition: null fieldUid: a61323db-26ac-4898-873c-a6c6b66fcb86 # Header instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: cd706210-1fae-476a-8ea7-3e2c40d4660d + userCondition: null warning: null width: 100 name: Content - sortOrder: 1 + uid: b9be1bcd-f559-4c73-b31b-c13f964168bd + userCondition: null fields: a61323db-26ac-4898-873c-a6c6b66fcb86: # Header columnSuffix: null contentColumnType: text fieldGroup: null handle: assetHeader - instructions: '' + instructions: null name: Header searchable: false settings: byteLimit: null charLimit: null - code: '' + code: false columnType: null - initialRows: '4' - multiline: '' + initialRows: 4 + multiline: false placeholder: null uiMode: normal translationKeyFormat: null diff --git a/api/config/project/matrixBlockTypes/image--9b45a4e3-4461-43d1-881a-ef72029ba2ad.yaml b/api/config/project/matrixBlockTypes/image--9b45a4e3-4461-43d1-881a-ef72029ba2ad.yaml index 7ddc79a5..33e5474e 100644 --- a/api/config/project/matrixBlockTypes/image--9b45a4e3-4461-43d1-881a-ef72029ba2ad.yaml +++ b/api/config/project/matrixBlockTypes/image--9b45a4e3-4461-43d1-881a-ef72029ba2ad.yaml @@ -3,18 +3,23 @@ fieldLayouts: bc20e833-6858-4927-bb1f-e3f2210012d2: tabs: - + elementCondition: null elements: - + elementCondition: null fieldUid: a5bb0742-012f-4683-a471-874944bf3280 # Image instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: 57d7b379-1687-469d-9b2b-389b467efab5 + userCondition: null warning: null width: 100 name: Content - sortOrder: 1 + uid: 1187fbaf-0541-4541-b347-652095b0fb68 + userCondition: null fields: a5bb0742-012f-4683-a471-874944bf3280: # Image columnSuffix: null @@ -26,25 +31,40 @@ fields: searchable: false settings: allowSelfRelations: false + allowSubfolders: false allowUploads: true allowedKinds: - image + branchLimit: null defaultUploadLocationSource: 'volume:cd6f2275-4f9b-4ba4-aa4c-7c7468366172' # Content Images - defaultUploadLocationSubpath: '' - limit: '1' + defaultUploadLocationSubpath: null localizeRelations: false + maintainHierarchy: false + maxRelations: 1 + minRelations: null previewMode: full - restrictFiles: '1' + restrictFiles: true + restrictLocation: false + restrictedDefaultUploadSubpath: null + restrictedLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes + restrictedLocationSubpath: null + selectionCondition: + __assoc__: + - + - elementType + - craft\elements\Asset + - + - fieldContext + - global + - + - class + - craft\elements\conditions\assets\AssetCondition selectionLabel: 'Select an image' showSiteMenu: false showUnpermittedFiles: false showUnpermittedVolumes: false - singleUploadLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes - singleUploadLocationSubpath: '' - source: null sources: '*' targetSiteId: null - useSingleFolder: false validateRelatedElements: false viewMode: list translationKeyFormat: null diff --git a/api/config/project/matrixBlockTypes/textLink--31b350fb-6fbd-4533-b006-4c287f689ed3.yaml b/api/config/project/matrixBlockTypes/textLink--31b350fb-6fbd-4533-b006-4c287f689ed3.yaml index 00d3d5ba..51866a55 100644 --- a/api/config/project/matrixBlockTypes/textLink--31b350fb-6fbd-4533-b006-4c287f689ed3.yaml +++ b/api/config/project/matrixBlockTypes/textLink--31b350fb-6fbd-4533-b006-4c287f689ed3.yaml @@ -3,77 +3,100 @@ fieldLayouts: 5045d08e-1627-42b2-a2c8-8c0698ccbb44: tabs: - + elementCondition: null elements: - + elementCondition: null fieldUid: 0f48338c-1c16-4600-9230-68bacb7c21e3 # Text instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: d3b2278e-8aeb-493b-a595-f551a5264b22 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: f444667c-6ea1-4e0f-89b2-35b059e27bfc # Link instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField + uid: db436b3a-c5f9-453d-8b1e-13a5dfea8f9d + userCondition: null warning: null width: 100 name: Content - sortOrder: 1 + uid: ab328a22-7af8-4347-af88-1d498d3e25d6 + userCondition: null fields: 0f48338c-1c16-4600-9230-68bacb7c21e3: # Text columnSuffix: null contentColumnType: text fieldGroup: null handle: text - instructions: '' + instructions: null name: Text searchable: false settings: byteLimit: null charLimit: null - code: '' + code: false columnType: null - initialRows: '4' - multiline: '' + initialRows: 4 + multiline: false placeholder: null uiMode: normal translationKeyFormat: null - translationMethod: none + translationMethod: site type: craft\fields\PlainText f444667c-6ea1-4e0f-89b2-35b059e27bfc: # Link columnSuffix: null contentColumnType: string fieldGroup: null handle: textLink - instructions: '' + instructions: null name: Link searchable: false settings: allowSelfRelations: false + allowSubfolders: false allowUploads: true allowedKinds: null + branchLimit: null defaultUploadLocationSource: 'volume:18a75c63-648f-4145-9cc3-386e7c8a0106' # General - defaultUploadLocationSubpath: '' - limit: '1' + defaultUploadLocationSubpath: null localizeRelations: false + maintainHierarchy: false + maxRelations: 1 + minRelations: null previewMode: full - restrictFiles: '' + restrictFiles: false + restrictLocation: false + restrictedDefaultUploadSubpath: null + restrictedLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes + restrictedLocationSubpath: null + selectionCondition: + __assoc__: + - + - elementType + - craft\elements\Asset + - + - fieldContext + - global + - + - class + - craft\elements\conditions\assets\AssetCondition selectionLabel: 'Select an asset' showSiteMenu: false showUnpermittedFiles: false showUnpermittedVolumes: false - singleUploadLocationSource: 'volume:8e9ec71e-2cf0-4f6a-b856-8976de0ce100' # Heroes - singleUploadLocationSubpath: '' - source: null sources: - 'volume:18a75c63-648f-4145-9cc3-386e7c8a0106' # General targetSiteId: null - useSingleFolder: false validateRelatedElements: false viewMode: list translationKeyFormat: null diff --git a/api/config/project/project.yaml b/api/config/project/project.yaml index 543114d5..1c98bdfb 100644 --- a/api/config/project/project.yaml +++ b/api/config/project/project.yaml @@ -1,4 +1,4 @@ -dateModified: 1691014771 +dateModified: 1691512708 email: fromEmail: $EMAIL_FROM_ADDRESS fromName: $EMAIL_SENDER_NAME