File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
pytest_mpl/summary/templates Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ <h5>Show tests which have...</h5>
3737 {{ filter_option('image-diff', 'differing images') }}
3838 {{ filter_option('image-missing', 'no baseline image') }}
3939 </ div >
40+ {% if results.warn_missing['baseline_hash'] -%}
4041 < div class ="list-group m-2 mpl-hash ">
4142 {{ filter_option('hash-match', 'matching hashes') }}
4243 {{ filter_option('hash-diff', 'differing hashes') }}
4344 {{ filter_option('hash-missing', 'no baseline hash') }}
4445 </ div >
46+ {%- endif %}
4547 < div class ="d-flex ">
4648 < button type ="submit " class ="btn btn-primary m-2 " data-bs-dismiss ="offcanvas "> Apply</ button >
4749 < button type ="submit " class ="btn btn-outline-secondary m-2 " onclick ="resetFilters() "> Reset</ button >
Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ <h5 class="card-title">{{ r.name }}</h5>
4444 {{ pre_data('tolerance', r.tolerance, 'Tolerance') }}
4545 </ div >
4646 </ div >
47+ {% if results.warn_missing['baseline_hash'] -%}
4748 < div class ="card text-white bg-{{ r.hash_status | status_class }} mb-3 mpl-hash ">
4849 < div class ="card-header "> {{ r.hash_status | hash_status_msg }}</ div >
4950 < div class ="card-body ">
5051 {{ pre_data('baseline_hash', r.baseline_hash, 'Baseline') }}
5152 {{ pre_data('result_hash', r.result_hash, 'Result') }}
5253 </ div >
5354 </ div >
55+ {%- endif %}
5456 </ div >
5557 </ div >
5658 </ div >
You can’t perform that action at this time.
0 commit comments