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