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

ui.common.pendingChanges.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="pendingRequests"  type="java.util.List" -->
<#-- @ftlvariable name="gitBranchBaseUrl"  type="java.lang.String" -->
<#-- @ftlvariable name="gitCommitBaseUrl"  type="java.lang.String" -->
<#-- @ftlvariable name="gitEmbeddedBrowse"  type="java.lang.Boolean" -->

<#import "documentation.ftl" as doc>
<#import "infoIcon.ftl" as info>
<#import "util.ftl" as _util_>

<#if pendingRequests?? && pendingRequests?size != 0> <#list pendingRequests as request> <#assign branchName = "refs/heads/" + request.branch>
<#if request.errorMsg??> ${request.type.name()} in <#if gitBranchBaseUrl??> <#assign url = gitBranchBaseUrl + branchName?url> ${request.branch} <#elseif gitEmbeddedBrowse> ${request.branch} <#else> branch '${request.branch}' <#if (request.commitChanges?size > 1)> commits: <#else> commit: <#list request.commitChanges as commitChange> <#assign commit = commitChange.commit> <#assign tooltipHtml> ${commit.username}
${(commit.timestampSec*1000)?number_to_datetime} UTC

${commit.message}

<@info.icon tooltip=tooltipHtml/> <#if gitCommitBaseUrl??> <#assign commitUrl = gitCommitBaseUrl + commit.commitId> target="_blank" href="${commitUrl}">${commit.commitId?substring(0, 6)}<#if !commitChange?is_last>, <#else> ${commit.commitId?substring(0, 6)}<#if !commitChange?is_last>,
<#if request.class.getSimpleName() == "ClusterRequest"> <#-- @ftlvariable name="clusterRequest" type="com.infobip.kafkistry.service.history.ClusterRequest" --> <#assign clusterRequest = request> <#if request.class.getSimpleName() == "TopicRequest"> <#-- @ftlvariable name="topicRequest" type="com.infobip.kafkistry.service.history.TopicRequest" --> <#assign topicRequest = request> <#if request.class.getSimpleName() == "AclsRequest"> <#-- @ftlvariable name="aclsRequest" type="com.infobip.kafkistry.service.history.AclsRequest" --> <#assign aclsRequest = request> <#if request.class.getSimpleName() == "QuotasRequest"> <#-- @ftlvariable name="quotasRequest" type="com.infobip.kafkistry.service.quotas.QuotasRequest" --> <#assign quotasRequest = request> <#if !request?is_last>
<#else> -----




© 2015 - 2024 Weber Informatics LLC | Privacy Policy