ui.home.topicsStats.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="topicsStats" type="java.util.Map" -->
<#-- @ftlvariable name="ownedTopicsStats" type="java.util.Map" -->
<#import "../common/util.ftl" as util>
<#if topicsStats?size == 0>
<#else>
<#macro topicsStatsTable tStats navigateSuffix="">
<#-- @ftlvariable name="tStats" type="java.util.Map" -->
<#list tStats as statusType, count>
<@util.namedTypeStatusAlert type = statusType alertInline=false/>
${count}
#list>
#macro>
<@topicsStatsTable tStats=topicsStats/>
<#if ownedTopicsStats?size == 0>
(no topics in your ownership)
<#else>
<@topicsStatsTable tStats=ownedTopicsStats navigateSuffix="%20YOUR"/>
#if>
#if>