check that websnapshot has values

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-07 12:59:05 -03:00
parent a47ca7978c
commit 434c518eec
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@
<div class="col-lg-3 col-md-4 label ">{% trans "Type" %}</div> <div class="col-lg-3 col-md-4 label ">{% trans "Type" %}</div>
<div class="col-lg-9 col-md-8">{{ object.type }}</div> <div class="col-lg-9 col-md-8">{{ object.type }}</div>
</div> </div>
{% if object.is_websnapshot and object.last_user_evidence %}
{% if object.is_websnapshot %}
{% for k, v in object.last_user_evidence %} {% for k, v in object.last_user_evidence %}
<div class="row"> <div class="row">
<div class="col-lg-3 col-md-4 label">{{ k }}</div> <div class="col-lg-3 col-md-4 label">{{ k }}</div>