mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
fix: [domains explorer] None screeenshot
This commit is contained in:
parent
62880e3a1c
commit
1eae92c755
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue