ui.registryException.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="httpStatus" type="org.springframework.http.HttpStatus" -->
<#-- @ftlvariable name="exceptionMessage" type="java.lang.String" -->
<#include "commonResources.ftl"/>
Kafkistry: Request exception
<#include "commonMenu.ftl">
Kafkistry error
<#switch httpStatus.series().value()>
<#case 1>
<#assign codeClass = "badge-primary">
<#break>
<#case 2>
<#assign codeClass = "badge-success">
<#break>
<#case 3>
<#assign codeClass = "badge-warning">
<#break>
<#case 4>
<#case 5>
<#assign codeClass = "badge-danger">
<#break>
<#default>
<#assign codeClass = "badge-secondary">
#switch>
${httpStatus.value()?c}
${httpStatus.reasonPhrase}
<#include "registryExceptionAlert.ftl">
<#include "common/backBtn.ftl">
Home
<#include "common/pageBottom.ftl">