chg: [module extractor] add link to tracker
Some checks are pending
CI / ail_test (3.10) (push) Waiting to run
CI / ail_test (3.7) (push) Waiting to run
CI / ail_test (3.8) (push) Waiting to run
CI / ail_test (3.9) (push) Waiting to run

This commit is contained in:
terrtia 2025-01-28 10:52:12 +01:00
parent 5e10bfcf6a
commit 9d41657ca8
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
2 changed files with 14 additions and 2 deletions

View file

@ -175,7 +175,13 @@
</svg> </svg>
{{ meta['extracted_matches'][match]['subtype'] }} {{ meta['extracted_matches'][match]['subtype'] }}
</td> </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> <td>
{% for row in meta['extracted_matches'][match]['matches'] %} {% for row in meta['extracted_matches'][match]['matches'] %}
<a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br> <a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br>

View file

@ -491,7 +491,13 @@
</svg> </svg>
{{ extracted_matches[match]['subtype'] }} {{ extracted_matches[match]['subtype'] }}
</td> </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> <td>
{% for row in extracted_matches[match]['matches'] %} {% for row in extracted_matches[match]['matches'] %}
<a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br> <a href="#{{ row[0] }}:{{row[1] }}">{{ row[2] }}</a><br>