meilisearch/Resources/Private/Templates/Backend/Reports/SiteHandlingStatus.html
2021-04-17 00:26:33 +02:00

7 lines
692 B
HTML

<table class="table table-condensed table-hover table-striped">
<f:for each="{validationResults}" as="validationResult">
<tr {f:render(section: 'CSSClassesFor', arguments:{validationResult: validationResult, forTag: 'tr'})}><th {f:render(section: 'CSSClassesFor', arguments:{validationResult: validationResult, forTag: 'th'})} >{validationResult.label}</th><td {f:render(section: 'CSSClassesFor', arguments:{validationResult: validationResult, forTag: 'td'})}>{validationResult.message}</td></tr>
</f:for>
</table>
<f:section name="CSSClassesFor"><f:if condition="{validationResult.CSSClassesFor.{forTag}}">class="{validationResult.CSSClassesFor.{forTag}}"</f:if></f:section>