#IF(#DELETE)
{AcceptAction1}
{AcceptAction2}
#LOOP(#DeleteObjects)
#ENDLOOP
#ELSE
#IF(#FeatureMaxValueReached)
{Notification}
{CouldNotCreateRegions}
{FeatureMaxValueRegions} #Shop.FeatureMaxValue.Regions
#INCLUDE("FeaturePromotion")
#ELSIF(#COUNT(#Regions) >= #Shop.FeatureMaxValue.Regions)
{Notification}
{FeatureMaxValueReached}
{FeatureMaxValueRegions} #Shop.FeatureMaxValue.Regions
#ENDIF
#ENDIF
#IF(NOT #DELETE)
{RegionsInfoBoxHead}
- {RegionsInfoboxLine1}
- {RegionsInfoboxLine2}
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#REM #ENDREM
#REM #ENDREM
#IF(#FormError)
#ENDIF
#ENDIF
|
{Region} |
{SelectedCountries} |
|
#IF(#DELETE)
#LOOP(#DeleteObjects)
|
#NameOrAlias
|
#IF(#COUNT(#Countries))
#JOIN(", ", #SORT(#Countries, "Native"), 0, 4)#Native#ENDJOIN#IF(#COUNT(#Countries) NGT 5), ...#ENDIF
#ELSE
{EmptyRegionNote}
#ENDIF
|
#ENDLOOP
#ELSE
#LOOP(#Regions)
|
#NameOrAlias
|
#IF(#COUNT(#Countries))
#JOIN(", ", #SORT(#Countries, "Native"), 0, 4)#Native#ENDJOIN#IF(#COUNT(#Countries) NGT 5), ...#ENDIF
#ELSE
{EmptyRegionNote}
#ENDIF
|
#ENDLOOP
#IF(NOT #COUNT(#Regions))
|
{RegionsTableEmptyState} |
#ENDIF
#ENDIF
#IF(#DELETE)
#ENDIF
#ENDBLOCK