All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.autopilot.relatedActions.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="autopilotActions"  type="java.util.List" -->
<#-- @ftlvariable name="actionsSearchTerm" type="java.lang.String" -->
<#-- @ftlvariable name="maxActions" type="java.lang.Integer" -->

<#import "util.ftl" as autopilotUtil>

<#assign maxActions = maxActions!6>

<#if autopilotActions?size == 0>
    ----
<#else>
    
        <#list autopilotActions as actionFlow>
            <#if actionFlow?index gte maxActions >
                
                <#break>
            
            <#assign actionDescription = actionFlow.metadata.description>
            <#assign actionSearch = actionDescription.actionName?remove_ending("Action") + " " + actionDescription.targetType>
            <#list actionFlow.metadata.attributes as attrKey, attrVal>
                <#assign actionSearch = actionSearch + " " + attrVal>
            
🔍 Action Target Time Result
...and ${autopilotActions?size - actionFlow?index} more action(s) 🔍
🔍 ${actionDescription.actionName?remove_ending("Action")} <#list actionFlow.metadata.attributes as attrKey, attrVal> ${attrVal} <@autopilotUtil.outcomeBadge outcomeType=actionFlow.outcomeType/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy