mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Merge pull request #467 from petmi627/master
Added characters limitation in trackersManagement.html
This commit is contained in:
commit
28c924ef4e
1 changed files with 20 additions and 4 deletions
|
@ -65,7 +65,15 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{dict_uuid['type']}}</td>
|
<td>{{dict_uuid['type']}}</td>
|
||||||
<td>
|
<td>
|
||||||
<span><a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">{{dict_uuid['term']}}</a></span>
|
<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>
|
<div>
|
||||||
{% for tag in dict_uuid['tags'] %}
|
{% for tag in dict_uuid['tags'] %}
|
||||||
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
||||||
|
@ -118,7 +126,15 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{dict_uuid['type']}}</td>
|
<td>{{dict_uuid['type']}}</td>
|
||||||
<td>
|
<td>
|
||||||
<span><a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">{{dict_uuid['term']}}</a></span>
|
<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>
|
<div>
|
||||||
{% for tag in dict_uuid['tags'] %}
|
{% for tag in dict_uuid['tags'] %}
|
||||||
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
<a href="{{ url_for('tags_ui.get_obj_by_tags') }}?object_type=item<ags={{ tag }}">
|
||||||
|
|
Loading…
Reference in a new issue