fix: [UI trackers] None trackers values

pull/534/head
Terrtia 2020-12-11 16:02:47 +01:00
parent 78903ec033
commit 28f6963ff4
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 12 additions and 8 deletions

View File

@ -67,10 +67,12 @@
<td> <td>
<span> <span>
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}"> <a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
{% if dict_uuid['term']|length > 256 %} {% if dict_uuid['term']%}
{{ dict_uuid['term'][0:256]}}... {% if dict_uuid['term']|length > 256 %}
{% else %} {{ dict_uuid['term'][0:256]}}...
{{ dict_uuid['term']}} {% else %}
{{ dict_uuid['term']}}
{% endif %}
{% endif %} {% endif %}
</a> </a>
</span> </span>
@ -128,10 +130,12 @@
<td> <td>
<span> <span>
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}"> <a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
{% if dict_uuid['term']|length > 256 %} {% if dict_uuid['term']%}
{{ dict_uuid['term'][0:256]}}... {% if dict_uuid['term']|length > 256 %}
{% else %} {{ dict_uuid['term'][0:256]}}...
{{ dict_uuid['term']}} {% else %}
{{ dict_uuid['term']}}
{% endif %}
{% endif %} {% endif %}
</a> </a>
</span> </span>