ui.common.statusFlags.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="statusFlags" type="com.infobip.kafkistry.service.topic.StatusFlags" -->
<#-- @ftlvariable name="clusterStatusFlags" type="java.util.Map" -->
<#-- @ftlvariable name="allTopicStatusTypes" type="java.util.List" -->
<#-- @ftlvariable name="nonOkTopicStatusTypes" type="java.util.List" -->
<#import "infoIcon.ftl" as info>
<#import "util.ftl" as util>
<#import "documentation.ftl" as doc>
ALL OK
<#elseif nonOkTopicStatusTypes?? && nonOkTopicStatusTypes?size <= 2>
<#list nonOkTopicStatusTypes as statusType>
<@util.namedTypeStatusAlert type = statusType alertInline=false/>
#list>
<#else>
<#if !statusFlags.configOk>
CONFIG MISMATCH
#if>
<#if !statusFlags.visibleOk>
UNREACHABLE
#if>
<#if !statusFlags.ruleCheckOk>
RULE VIOLATED
#if>
<#if !statusFlags.runtimeOk>
RUNTIME ISSUE
#if>
#if>
<#if statusFlags.allOk>