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,15 +98,17 @@
Last Origin: <a class="badge" target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste', paste=dict_domain['origin_item']) }}" />{{ dict_domain['origin_item'] }}</a> Last Origin: <a class="badge" target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste', paste=dict_domain['origin_item']) }}" />{{ dict_domain['origin_item'] }}</a>
{%endif%} {%endif%}
{% if in dict_domain.get('correlation_nb', 0) > 0 %} {% if 'correlation_nb' in dict_domain %}
<hr> {% if dict_domain["correlation_nb"] > 0 %}
<div class="mt-2"> <hr>
<a href="{{ url_for('correlation.show_correlation')}}?object_type=domain&correlation_id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px"> <div class="mt-2">
<button class="btn btn-info"><i class="fas fa-search"></i> Show Domain Correlations &nbsp; <a href="{{ url_for('correlation.show_correlation')}}?object_type=domain&correlation_id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px">
<div class="badge badge-warning">{{dict_domain['correlation_nb']}}</div> <button class="btn btn-info"><i class="fas fa-search"></i> Show Domain Correlations &nbsp;
</button> <div class="badge badge-warning">{{dict_domain['correlation_nb']}}</div>
</a> </button>
</div> </a>
</div>
{%endif%}
{%endif%} {%endif%}
</div> </div>