File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed
Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 4040 max : 600
4141 step : 10
4242 unit : px
43+ imageDirectoryIgnoreAssets :
44+ type : array<Neos\Media\Domain\Model\Asset>
45+ ui :
46+ label : i18n
47+ reloadPageIfChanged : true
48+ inspector :
49+ group : imageDirectory
50+ position : 40
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ prototype(Garagist.ImageDirectory:ByAsset) < prototype(Neos.Fusion:Component) {
1414 prefixCopyright = ${q(this.node).property('imageDirectoryPrefixCopyright')}
1515 defaultCopyright = ${q(this.node).property('imageDirectoryDefaultCopyright')}
1616 imageWidth = ${q(this.node).property('imageDirectoryImageWidth')}
17+ ignoreAssets = ${q(this.node).property('imageDirectoryIgnoreAssets')}
1718
1819 renderer = Neos.Fusion:Map {
1920 @process.filter = ${Array.filter(value)}
2021 items = ${props.rawList}
2122 itemRenderer = Garagist.ImageDirectory:Helper.AssetDataStructure {
23+ @if.notIgnore = ${Array.indexOf(props.ignoreAssets, item.asset) == -1}
2224 asset = ${item.asset}
2325 prefixCopyright = ${props.prefixCopyright}
2426 defaultCopyright = ${props.defaultCopyright}
Original file line number Diff line number Diff line change @@ -14,16 +14,19 @@ prototype(Garagist.ImageDirectory:ByDocument) < prototype(Neos.Fusion:Component)
1414 prefixCopyright = ${q(this.node).property('imageDirectoryPrefixCopyright')}
1515 defaultCopyright = ${q(this.node).property('imageDirectoryDefaultCopyright')}
1616 imageWidth = ${q(this.node).property('imageDirectoryImageWidth')}
17+ ignoreAssets = ${q(this.node).property('imageDirectoryIgnoreAssets')}
1718
1819 renderer = Neos.Fusion:Map {
1920 @process.filter = ${Array.filter(value)}
2021 items = ${props.rawList}
2122 itemRenderer = Garagist.ImageDirectory:Helper.DocumentDataStructure {
23+ @if.hasAssets = ${Array.length(this.assets)}
2224 document = ${item}
2325 assets = Neos.Fusion:Map {
2426 @process.filter = ${Array.filter(value)}
2527 items = ${item.assets}
2628 itemRenderer = Garagist.ImageDirectory:Helper.AssetDataStructure {
29+ @if.notIgnore = ${Array.indexOf(props.ignoreAssets, item) == -1}
2730 asset = ${item}
2831 prefixCopyright = ${props.prefixCopyright}
2932 defaultCopyright = ${props.defaultCopyright}
Original file line number Diff line number Diff line change 1919 <source >Image width</source >
2020 <target >Bilderbreite</target >
2121 </trans-unit >
22+ <trans-unit id =" properties.imageDirectoryIgnoreAssets" xml : space =" preserve" >
23+ <source >Ignore assets</source >
24+ <target >Assets ignorieren</target >
25+ </trans-unit >
2226 </body >
2327 </file >
2428</xliff >
Original file line number Diff line number Diff line change 1515 <trans-unit id =" properties.imageDirectoryImageWidth" xml : space =" preserve" >
1616 <source >Image width</source >
1717 </trans-unit >
18+ <trans-unit id =" properties.imageDirectoryIgnoreAssets" xml : space =" preserve" >
19+ <source >Ignore assets</source >
20+ </trans-unit >
1821 </body >
1922 </file >
2023</xliff >
You can’t perform that action at this time.
0 commit comments