You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/FormHandler.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/ServiceDefinitions.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/BlockListType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/EditEntityType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/FinderType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/QuickNavigationType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/SharedFormTypeFields.xtend
«IFnull!== dataObject && dataObject instanceofEntity&& (dataObject as Entity).hasTranslatableFields»
@@ -453,7 +453,7 @@ class SharedFormTypeFields {
453
453
messages +='''$this->__f('Note: the image must have a height of at most %max% pixels.', ['%max%' => «maxHeight»])'''
454
454
}
455
455
456
-
if (application.targets('2.0-dev')) {
456
+
if (application.targets('2.0')) {
457
457
if (minPixels >0&& maxPixels >0) {
458
458
if (minPixels == maxPixels) {
459
459
messages +='''$this->__f('Note: the amount of pixels must be exactly equal to %amount% pixels.', ['%amount%' => «minPixels»])'''
@@ -587,7 +587,7 @@ class SharedFormTypeFields {
587
587
'scale' => «scale»
588
588
'''
589
589
590
-
def private dispatch formType(StringFieldit) '''«IF role == StringRole.COLOUR»«IF application.targets('2.0-dev')»Color«ELSE»Colour«ENDIF»«ELSEIF role == StringRole.COUNTRY»Country«ELSEIF role == StringRole.CURRENCY»Currency«ELSEIF role == StringRole.LANGUAGE»Language«ELSEIF role == StringRole.LOCALE»Locale«ELSEIF role == StringRole.PASSWORD»Password«ELSEIF role == StringRole.DATE_INTERVAL && application.targets('2.0')»DateInterval«ELSEIF role == StringRole.PHONE_NUMBER»Tel«ELSEIF role == StringRole.TIME_ZONE»Timezone«ELSE»Text«ENDIF»'''
590
+
def private dispatch formType(StringFieldit) '''«IF role == StringRole.COLOUR»«IF application.targets('2.0')»Color«ELSE»Colour«ENDIF»«ELSEIF role == StringRole.COUNTRY»Country«ELSEIF role == StringRole.CURRENCY»Currency«ELSEIF role == StringRole.LANGUAGE»Language«ELSEIF role == StringRole.LOCALE»Locale«ELSEIF role == StringRole.PASSWORD»Password«ELSEIF role == StringRole.DATE_INTERVAL && application.targets('2.0')»DateInterval«ELSEIF role == StringRole.PHONE_NUMBER»Tel«ELSEIF role == StringRole.TIME_ZONE»Timezone«ELSE»Text«ENDIF»'''
591
591
def private dispatch titleAttribute(StringFieldit) '''«IF role == StringRole.COLOUR || role == StringRole.COUNTRY || role == StringRole.CURRENCY || (role == StringRole.DATE_INTERVAL && application.targets('2.0')) || role == StringRole.LANGUAGE || role == StringRole.LOCALE || role == StringRole.TIME_ZONE»Choose the «name.formatForDisplay»«ELSE»Enter the «name.formatForDisplay»«ENDIF»«IF null !== entity» of the «entity.name.formatForDisplay»«ENDIF»'''
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/field/ColourType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/formtype/field/TelType.xtend
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/helper/ControllerHelper.xtend
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -500,7 +500,7 @@ class ControllerHelper {
500
500
$url = 'javascript:void(0);';
501
501
$subscriberUrl = $assignment->getSubscriberUrl();
502
502
if (null !== $subscriberUrl && !empty($subscriberUrl)) {
0 commit comments