mirror of https://github.com/CIRCL/AIL-framework
fix: [domains explorer] None screeenshot
parent
62880e3a1c
commit
1eae92c755
|
@ -213,7 +213,7 @@ blocks.addEventListener('change', pixelate_all, false);
|
|||
|
||||
{% for dict_domain in dict_data['list_elem'] %}
|
||||
{% if dict_domain['is_tags_safe'] %}
|
||||
{% if 'screenshot' in dict_domain %}
|
||||
{% if dict_domain['screenshot'] %}
|
||||
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
||||
{% else %}
|
||||
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
||||
|
|
|
@ -172,7 +172,7 @@ blocks.addEventListener('change', pixelate_all, false);
|
|||
|
||||
{% for dict_domain in l_dict_domains['list_elem'] %}
|
||||
{% if dict_domain['is_tags_safe'] %}
|
||||
{% if 'screenshot' in dict_domain %}
|
||||
{% if dict_domain['screenshot'] %}
|
||||
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
||||
{% else %}
|
||||
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
||||
|
|
Loading…
Reference in New Issue