mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
fix: [showDomain UI] fix template
This commit is contained in:
parent
d573dfde1a
commit
69457ca75e
1 changed files with 11 additions and 9 deletions
|
@ -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
|
<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
|
||||||
</button>
|
<div class="badge badge-warning">{{dict_domain['correlation_nb']}}</div>
|
||||||
</a>
|
</button>
|
||||||
</div>
|
</a>
|
||||||
|
</div>
|
||||||
|
{%endif%}
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue