mirror of https://github.com/CIRCL/AIL-framework
Added characters limition in trackersManagement.html
parent
7888f54902
commit
f2cdb2b3f7
|
@ -64,8 +64,16 @@
|
|||
{% for dict_uuid in user_term %}
|
||||
<tr>
|
||||
<td>{{dict_uuid['type']}}</td>
|
||||
<td>
|
||||
<span><a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">{{dict_uuid['term']}}</a></span>
|
||||
<td>
|
||||
<span>
|
||||
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
||||
{% if dict_uuid['term']|length > 256 %}
|
||||
{{ dict_uuid['term'][0:256]}}...
|
||||
{% else %}
|
||||
{{ dict_uuid['term']}}
|
||||
{% endif %}
|
||||
</a>
|
||||
</span>
|
||||
<div>
|
||||
{% for tag in dict_uuid['tags'] %}
|
||||
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
||||
|
@ -117,8 +125,16 @@
|
|||
{% for dict_uuid in global_term %}
|
||||
<tr>
|
||||
<td>{{dict_uuid['type']}}</td>
|
||||
<td>
|
||||
<span><a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">{{dict_uuid['term']}}</a></span>
|
||||
<td>
|
||||
<span>
|
||||
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
||||
{% if dict_uuid['term']|length > 256 %}
|
||||
{{ dict_uuid['term'][0:256]}}...
|
||||
{% else %}
|
||||
{{ dict_uuid['term']}}
|
||||
{% endif %}
|
||||
</a>
|
||||
</span>
|
||||
<div>
|
||||
{% for tag in dict_uuid['tags'] %}
|
||||
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
||||
|
|
Loading…
Reference in New Issue