From 9a9297c3ef307c1deb8bdf1f4f63bd0e02db6e20 Mon Sep 17 00:00:00 2001 From: patil Date: Mon, 8 Jul 2024 16:34:49 +0200 Subject: [PATCH] update gwendia.vm --- .../main/resources/vm/gwendia-standalone.vm | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) 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