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

ui.quotas.util.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version

<#macro entity entity>
<#-- @ftlvariable name="entity" type="com.infobip.kafkistry.model.QuotaEntity" -->
    <#if !entity.userIsAny()>
        User
        <#if entity.userIsDefault()>
            DEFAULT
        <#else>
            ${entity.user}
        
    
    <#if !entity.userIsAny() && !entity.clientIsAny()>|
    <#if !entity.clientIsAny()>
        ClientId
        <#if entity.clientIsDefault()>
            DEFAULT
        <#else>
            ${entity.clientId}
        
    


<#macro quotaValue inspection source name suffix>
    <#if (inspection[source])??>
        <#if (inspection[source][name])??>
            
                <#assign value = inspection[source][name]>
                ${value}${suffix}
            
        <#else>
            NONE
        
    <#else>
        ---
    





© 2015 - 2024 Weber Informatics LLC | Privacy Policy