#93422Flash messages used for callouts in page module
Description
Some errors / warnings are handled in PageLayoutController
These use a “ callout “ message type with the InfoBox template:
<f:be title="{title}" state="{state}"><br> <f:format>{message}<br> <p>which results for example in:</p> <p><div class="callout callout-danger"><div class="media"><div class="media-left"><span class="fa-stack fa-lg callout-icon"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-times fa-stack-1x"></i></span></div><div class="media-body"><h4 class="callout-title">shortcut with missing target</h4><div class="callout-body">
Page is configured to be a link but there is actually no valid target defined.
</div></div></div></div></p>
<p><img alt src="message_shortcut_missing_target.png"></p>
<p>—-</p>
<p>Other messages (for example “Unused elements detected on this page”) use a <strong>flashmessage</strong> styling:</p>
<p><div class="typo3-messages"><div class="alert alert-warning"> <div class="media"> <div class="media-left"> <span class="fa-stack fa-lg"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-exclamation fa-stack-1x"></i> </span> </div> <div class="media-body"> <h4 class="alert-title">Unused elements detected on this page</h4> <p class="alert-message">These elements don't belong to any of the available columns of this page. You should either delete them or move them to existing columns. We highlighted the problematic records for you.</p> </div> </div></div></div></p>
<p><img alt src="message_unused_elements.png"></p>
<p>——</p>
<p>IMHO, the same styling (for callouts) should be used in these cases as well.</p></f:format></f:be>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.