Skip to content

Commit

Permalink
chg: [module extractor] add link to tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 28, 2025
1 parent 5e10bfc commit 9d41657
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion var/www/templates/chats_explorer/ChatMessage.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,13 @@ <h5>
</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>
Expand Down
8 changes: 7 additions & 1 deletion var/www/templates/objects/item/show_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,13 @@ <h5>
</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>
Expand Down

0 comments on commit 9d41657

Please sign in to comment.