Skip to content
This repository has been archived by the owner on Sep 23, 2018. It is now read-only.

Commit

Permalink
imported 2.2.3 from 2016-05-28
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Bruggmann committed Mar 23, 2017
1 parent 535c01f commit 8f02b45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Resources/Private/TypoScript/Root.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ prototype(NodeTypes:MultiColumn) {

@context.isRoot = ${q(node).parent().parent().is('[instanceof TYPO3.Neos:Document]')}
@context.align = ${q(node).property('align') ? 'row-xs-' + q(node).property('align') : false}
@context.onlyImages = ${q(node).find('[instanceof TYPO3.Neos.NodeTypes:Image][image]').count() == q(node).find('[instanceof TYPO3.Neos:Content]').count() ? 'multicolumn-only-images' : false}
container = ${isRoot}

attributes.class = TypoScript:RawArray {
row = ${isRoot ? 'container' : 'row'}
align = ${align && !isRoot ? align : false}
onlyImages = ${onlyImages && !isRoot ? onlyImages : false}
}

attributesRow = TypoScript:Attributes {
class = TypoScript:RawArray {
row = ${'row'}
row = 'row'
align = ${align}
onlyImages = ${onlyImages}
}
}
columns.iterationName = 'multiColumnIteration'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dotpulse/multicolumn",
"type": "typo3-flow-plugin",
"description": "Expand the settings for the Neos MultiColumn",
"version": "2.2.2",
"version": "2.2.3",
"require": {
"typo3/neos-nodetypes": "^2.1"
},
Expand Down

0 comments on commit 8f02b45

Please sign in to comment.