mirror of https://github.com/CIRCL/AIL-framework
fix: [show domain] fix correlation button if nb correl == 0
parent
ba6c9c9601
commit
12c5483467
|
@ -129,7 +129,6 @@
|
||||||
|
|
||||||
<div class="d-flex flex-row-reverse bd-highlight mt-2">
|
<div class="d-flex flex-row-reverse bd-highlight mt-2">
|
||||||
{% if 'correlation_nb' in dict_domain %}
|
{% if 'correlation_nb' in dict_domain %}
|
||||||
{% if dict_domain["correlation_nb"] > 0 %}
|
|
||||||
<hr>
|
<hr>
|
||||||
<div>
|
<div>
|
||||||
<a href="{{ url_for('correlation.show_correlation')}}?type=domain&id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px">
|
<a href="{{ url_for('correlation.show_correlation')}}?type=domain&id={{ dict_domain['domain'] }}&correlation_objects=domain" target="_blank" style="font-size: 15px">
|
||||||
|
@ -138,7 +137,6 @@
|
||||||
</button>
|
</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{%endif%}
|
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{% with obj_type='domain', obj_id=dict_domain['domain'], obj_subtype=''%}
|
{% with obj_type='domain', obj_id=dict_domain['domain'], obj_subtype=''%}
|
||||||
{% include 'modals/investigations_register_obj.html' %}
|
{% include 'modals/investigations_register_obj.html' %}
|
||||||
|
|
Loading…
Reference in New Issue