Skip to content

Commit

Permalink
[F] NewsAssets links are translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mason authored and blnkt committed Aug 8, 2023
1 parent 2c23a1e commit 839c073
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api/config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1691014771
dateModified: 1691512708
email:
fromEmail: $EMAIL_FROM_ADDRESS
fromName: $EMAIL_SENDER_NAME
Expand Down

0 comments on commit 839c073

Please sign in to comment.