diff --git a/vip-portal/src/main/resources/vm/gwendia-standalone.vm b/vip-portal/src/main/resources/vm/gwendia-standalone.vm index a3bee1cd7..603ea5e0f 100644 --- a/vip-portal/src/main/resources/vm/gwendia-standalone.vm +++ b/vip-portal/src/main/resources/vm/gwendia-standalone.vm @@ -73,29 +73,25 @@ if ( result.startsWith("/") || result.startsWith("lfn:") ) { #end -#if($tools.getVipDotResultDirs) +#if($tool.getVipDotInputIds() && !$tool.getVipDotInputIds().isEmpty()) + #if($tools.getVipDotResultDirs) - #foreach($input in $tool.getInputs()) - #if($tool.getVipDotInputIds().contains($input.getId())) - - #end + #end + #foreach($dotInput in $tool.getVipDotInputIds()) + #end + #if( ! $tools.getVipDotResultDirs) + + #end #else +#end #foreach($input in $tool.getInputs()) #if(!$tool.getVipDotInputIds().contains($input.getId())) - + #end -#end -#end -#if($tool.getVipDotInputIds() && !$tool.getVipDotInputIds().isEmpty() && !$tools.getVipDotResultDirs) - -#foreach($dotInput in $tool.getVipDotInputIds()) - -#end - #end