ui.quotas.entities.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="quotaEntities" type="java.util.List" -->
<#-- @ftlvariable name="pendingQuotaRequests" type="java.util.Map" -->
<#-- @ftlvariable name="gitStorageEnabled" type="java.lang.Boolean" -->
<#include "../commonResources.ftl"/>
Kafkistry: Quotas
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "util.ftl" as quotaUtil>
<#if gitStorageEnabled>
<#assign pendingUpdates = pendingQuotaRequests>
<#assign entityName = "Entity quota">
<#include "../common/pendingChangeRequests.ftl">
#if>
Status of client entity quotas
Client Entity
Owner
Presence
OK
Statuses
<#list quotaEntities as entityStatus>
<@quotaUtil.entity entity = entityStatus.entity/>
<#if entityStatus.quotaDescription??>
${entityStatus.quotaDescription.owner}
<@util.presence presence = entityStatus.quotaDescription.presence inline = false/>
<#else>
[none]
[undefined]
#if>
<@util.ok ok = entityStatus.status.ok/>
<#list entityStatus.status.statusCounts as statusCount>
<@util.namedTypeStatusAlert type = statusCount.type quantity = statusCount.quantity/>
#list>
#list>
<#include "../common/pageBottom.ftl">