fix: [org] fix trackers None orgs

otp
terrtia 2024-09-06 14:45:11 +02:00
parent df4969be82
commit 8e502e299b
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
5 changed files with 29 additions and 7 deletions

View File

@ -34,7 +34,11 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</td> </td>
<td>{{dict_cookiejar['org_name']}}<br>{{ dict_cookiejar['org'] }}</td> <td>
{% if dict_cookiejar['org'] %}
{{dict_cookiejar['org_name']}}<br>{{ dict_cookiejar['org'] }}
{% endif %}
</td>
<td>{{dict_cookiejar['user']}}</td> <td>{{dict_cookiejar['user']}}</td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@ -133,7 +133,11 @@
</tr> </tr>
<tr> <tr>
<td class="text-right"><b>Org</b></td> <td class="text-right"><b>Org</b></td>
<td>{{meta['org_name']}}<br>{{ meta['org'] }}</td> <td>
{% if meta['org'] %}
{{meta['org_name']}}<br>{{ meta['org'] }}
{% endif %}
</td>
</tr> </tr>
<tr> <tr>
<td class="text-right"><b>First Seen</b></td> <td class="text-right"><b>First Seen</b></td>

View File

@ -94,7 +94,9 @@
</div> </div>
</td> </td>
<td> <td>
{% if dict_uuid['org'] %}
{{ dict_uuid['org_name'] }}<br>{{ dict_uuid['org'] }} {{ dict_uuid['org_name'] }}<br>{{ dict_uuid['org'] }}
{% endif %}
</td> </td>
<td> <td>
{% if dict_uuid['first_seen'] %} {% if dict_uuid['first_seen'] %}
@ -243,7 +245,9 @@
</div> </div>
</td> </td>
<td> <td>
{% if dict_uuid['org'] %}
{{ dict_uuid['org_name'] }}<br>{{ dict_uuid['org'] }} {{ dict_uuid['org_name'] }}<br>{{ dict_uuid['org'] }}
{% endif %}
</td> </td>
<td> <td>
{% if dict_uuid['first_seen'] %} {% if dict_uuid['first_seen'] %}

View File

@ -58,7 +58,9 @@
</div> </div>
</a> </a>
</td> </td>
<td>{{ dict_investigation['org_name']}}<br>{{ dict_investigation['org'] }}</td> <td>
{{ dict_investigation['org_name']}}<br>{{ dict_investigation['org'] }}
</td>
<td>{{ dict_investigation['date']}}</td> <td>{{ dict_investigation['date']}}</td>
<td>{{ dict_investigation['last_change']}}</td> <td>{{ dict_investigation['last_change']}}</td>
<td>{{ dict_investigation['info']}}</td> <td>{{ dict_investigation['info']}}</td>
@ -96,7 +98,11 @@
</div> </div>
</a> </a>
</td> </td>
<td>{{ dict_investigation['org_name']}}<br>{{ dict_investigation['org'] }}</td> <td>
{% if dict_investigation['org'] %}
{{ dict_investigation['org_name']}}<br>{{ dict_investigation['org'] }}
{% endif %}
</td>
<td>{{ dict_investigation['date']}}</td> <td>{{ dict_investigation['date']}}</td>
<td>{{ dict_investigation['last_change']}}</td> <td>{{ dict_investigation['last_change']}}</td>
<td>{{ dict_investigation['info']}}</td> <td>{{ dict_investigation['info']}}</td>

View File

@ -49,7 +49,11 @@
</tr> </tr>
<tr> <tr>
<th>Org</th> <th>Org</th>
<td>{{metadata['org_name']}}<br>{{ metadata['org'] }}</td> <td>
{% if metadata['org'] %}
{{ metadata['org_name']}}<br>{{ metadata['org'] }}
{% endif %}
</td>
</tr> </tr>
<tr> <tr>
<th>Level</th> <th>Level</th>