summaryrefslogtreecommitdiff
path: root/plans/templates/_test_details.html
blob: ed7d41d298b5d9bcd103f06e008c5874d976c63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<table class="table table-striped">
    {% if 'filename' in test and test.filename != "" %}
    <h4><a href="{{ test.filename }}">details</a></h4>
    {% endif %}
    <tbody>
        {% for key,value in test.items() %}
            {% if key != 'missing' and key != 'filename' %}
            <tr>
                <td>{{ key }}</td>
                <td>
                {% if value is mapping %}
                    {% for subkey,subvalue in value.items() %}
                    <strong>{{ subkey }}</strong>: {{ subvalue }}<br/>
                    {% endfor %}
                {% else %}
                    {{ value }}
                {% endif %}
            </tr>
            {% endif %}
        {% endfor %}
    </tbody>
</table>