From 9d41657ca8e2598ed745c4e6a9ffb525a301e024 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 28 Jan 2025 10:52:12 +0100 Subject: [PATCH] chg: [module extractor] add link to tracker --- var/www/templates/chats_explorer/ChatMessage.html | 8 +++++++- var/www/templates/objects/item/show_item.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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 @@ {{ meta['extracted_matches'][match]['subtype'] }} - {{ meta['extracted_matches'][match]['id'] }} + + {% if meta['extracted_matches'][match]['subtype'] == 'tracker' %} + {{ meta['extracted_matches'][match]['id'] }} + {% else %} + {{ meta['extracted_matches'][match]['id'] }} + {% endif %} + {% for row in meta['extracted_matches'][match]['matches'] %} {{ row[2] }}
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 @@ {{ extracted_matches[match]['subtype'] }} - {{ extracted_matches[match]['id'] }} + + {% if extracted_matches[match]['subtype'] == 'tracker' %} + {{ extracted_matches[match]['id'] }} + {% else %} + {{ extracted_matches[match]['id'] }} + {% endif %} + {% for row in extracted_matches[match]['matches'] %} {{ row[2] }}