{{if (lineLogArray) && (lineLogArray.length > 0)}}
<div class="global-LineLog" data-role="linelogarray"><dl>
{{for lineLogArray}}
    <dt>{{> line}}</dt>
    <dd>
    {{for messageArray}}
        <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>
    {{/for}}
    </dd>
{{/for}}
</dl></div>
{{/if}}