<?xml version="1.0" encoding="UTF-8"?>

<ui:composition xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:e="http://www.ivu.de/elect/tags">

    <!--@elvariable id="msgs" type="de.ivu.elect.business.lokalisierung.control.LokalisierungResourceBundle"-->

    <ui:fragment rendered="#{interfacesEmailTestView.mailAvailable}">
        <e:form id="frmEmailStatus" styleClass="interface-status-test">
            <e:outputFormSeparator value="#{msgs['interfaces.email.test.status']}"/>

            <ui:fragment rendered="#{not interfacesEmailTestView.mailServiceEnabled}">
                <e:inputColor id="inEmailVersandStatus" disabled="true" value="#{msgs['interfaces.status.test.erreichbarkeit.color.false']}"
                        title="#{msgs['interfaces.email.test.status.deaktiviert']}"
                        label="#{msgs['interfaces.email.test.status.label']}"/>

                <e:inputText id="inEmailVersandException" disabled="true" value="#{msgs['interfaces.email.test.status.deaktiviert']}"
                        label="#{msgs['interfaces.status.test.exception']}"/>
            </ui:fragment>

            <p:commandButton id="btnEmailTesten" rendered="#{interfacesEmailTestView.mailServiceEnabled}" immediate="true"
                    ajax="false" value="#{msgs['interfaces.email.test.menu.label']}"
                    action="#{interfacesEmailTestView.goToEmailTestView}"/>
        </e:form>
    </ui:fragment>
</ui:composition>
