Commit 92057856 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch '106-beautify-the-flashmessages' into 'develop'

Beautifies the output for general and extension edit messages

Closes #106

See merge request !124
parents 3007237b c90f4259
Pipeline #1812 passed with stages
in 3 minutes
<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 class="tx_terfe2_content">
<f:render section="main"/>
<f:if condition="{validationResults.flattenedErrors}">
<f:for each="{validationResults.flattenedErrors}" as="errors" key="propertyPath">
<f:for each="{errors}" as="error">
<li>{error.code}: {error}</li>
<f:for each="{errors}" as="error">
<div class="alert alert-danger">
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