Commit c90f4259 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Beautifies the output for general and extension edit messages

parent 2f75b512
Pipeline #1807 passed with stages
in 3 minutes and 2 seconds
<div class="tx_terfe2">
<f:flashMessages />
<f:flashMessages as="flashMessages">
<f:if condition="{flashMessages}">
<f:for each="{flashMessages}" as="flashMessage">
<div class="alert {flashMessage.class}" role="alert">
<strong class="fa fa-{flashMessage.iconName}"></strong> {flashMessage.message}
</div>
</f:for>
</f:if>
</f:flashMessages>
<div class="tx_terfe2_content">
<f:render section="main"/>
</div>
......
<f:form.validationResults>
<f:if condition="{validationResults.flattenedErrors}">
<f:for each="{validationResults.flattenedErrors}" as="errors" key="propertyPath">
<li>{propertyPath}
<ul>
<f:for each="{errors}" as="error">
<li>{error.code}: {error}</li>
</f:for>
</ul>
</li>
<f:for each="{errors}" as="error">
<div class="alert alert-danger">
{error}
</div>
</f:for>
</f:for>
</f:if>
</f:form.validationResults>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment