fix: [showDomain UI] fix template

This commit is contained in:
Terrtia 2019-11-20 13:25:01 +01:00
parent d573dfde1a
commit 69457ca75e
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -98,7 +98,8 @@
Last Origin: <a class="badge" target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste', paste=dict_domain['origin_item']) }}" />{{ dict_domain['origin_item'] }}</a>
{%endif%}
{% if in dict_domain.get('correlation_nb', 0) > 0 %}
{% if 'correlation_nb' in dict_domain %}
{% if dict_domain["correlation_nb"] > 0 %}
<hr>
<div class="mt-2">
<a href="{{ url_for('correlation.show_correlation')}}?object_type=domain&correlation_id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px">
@ -107,6 +108,7 @@
</button>
</a>
</div>
{%endif%}
{%endif%}
</div>