diff --git a/var/www/templates/chats_explorer/ChatMessage.html b/var/www/templates/chats_explorer/ChatMessage.html index 8b402fed..2ae6a132 100644 --- a/var/www/templates/chats_explorer/ChatMessage.html +++ b/var/www/templates/chats_explorer/ChatMessage.html @@ -175,7 +175,13 @@ </svg> {{ meta['extracted_matches'][match]['subtype'] }} </td> - <td>{{ meta['extracted_matches'][match]['id'] }}</td> + <td> + {% if meta['extracted_matches'][match]['subtype'] == 'tracker' %} + <a href="{{ url_for('hunters.show_tracker') }}?uuid={{ meta['extracted_matches'][match]['id'] }}">{{ meta['extracted_matches'][match]['id'] }}</a> + {% else %} + {{ meta['extracted_matches'][match]['id'] }} + {% endif %} + </td> <td> {% for row in meta['extracted_matches'][match]['matches'] %} <a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br> diff --git a/var/www/templates/objects/item/show_item.html b/var/www/templates/objects/item/show_item.html index 2486348b..02ed8f5f 100644 --- a/var/www/templates/objects/item/show_item.html +++ b/var/www/templates/objects/item/show_item.html @@ -491,7 +491,13 @@ </svg> {{ extracted_matches[match]['subtype'] }} </td> - <td>{{ extracted_matches[match]['id'] }}</td> + <td> + {% if extracted_matches[match]['subtype'] == 'tracker' %} + <a href="{{ url_for('hunters.show_tracker') }}?uuid={{ extracted_matches[match]['id'] }}">{{ extracted_matches[match]['id'] }}</a> + {% else %} + {{ extracted_matches[match]['id'] }} + {% endif %} + </td> <td> {% for row in extracted_matches[match]['matches'] %} <a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br>