<ul>
{{for messageArray}}
    <li>
        <div class="{{if category.indexOf('warning') !== -1}}global-WarningMessage{{else}}global-ErrorMessage{{/if}}">
            {{if text}}
                {{> text}}
            {{else}}
                {{: key}}{{if valueArray}}: 
                    {{for valueArray}}
                        {{if #index > 0}} / {{/if}}{{>}}
                    {{/for}}
                {{/if}}
            {{/if}}
        </div>
    </li>
{{/for}}
</ul>
