{{#*inline "highlight"}}{{#if highlight}}*{color:red}{{/if}}{{value}}{{#if highlight}}{color}*{{/if}}{{/inline}}

{{#with summary}}

{{#if collection.description}}
    {section}
        {column:width=30%}
            Description
        {column}
        {column:width=70%}
            {{{collection.description}}}
        {column}
    {section}
{{/if}}

    {{sectionRow "Time" ../timestamp }}
    {{sectionRow "Exported with" (add "Newman v" ../version) }}

{{#with stats}}
h2. Base Information

    | ||Total||Failed||
    |Iterations|{{iterations.total}}|{{>highlight highlight=iterations.failed value=iterations.failed}}|
    |Requests|{{requests.total}}|{{>highlight highlight=requests.failed value=requests.failed}}|
    |Prerequest Scripts|{{prerequestScripts.total}}|{{>highlight highlight=prerequestScripts.failed value=prerequestScripts.failed}}|
    |Test Scripts|{{testScripts.total}}|{{>highlight highlight=testScripts.failed value=testScripts.failed}}|
    |Assertions|{{assertions.total}}|{{>highlight highlight=assertions.failed value=assertions.failed}}|

{{/with}}

    {{sectionRow "Total run duration" duration}}
    {{sectionRow "Total data received" responseTotal}}
    {{sectionRow "Average response time" responseAverage}}

    {{sectionRow "Total Failures" (add (add "*" failures.length) "*") }}

{{/with}}