mirror of https://github.com/CIRCL/AIL-framework
fix: [object subtype dashboard] fix None first/last seen
parent
3569498d5a
commit
d5b048d4b4
|
@ -182,8 +182,8 @@
|
|||
</td>
|
||||
|
||||
<td><a target="_blank" href="{{ meta['link'] }}">{{ meta['id'] }}</a></td>
|
||||
<td>{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}</td>
|
||||
<td>{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}</td>
|
||||
<td>{% if meta['first_seen'] %}{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}{% endif %}</td>
|
||||
<td>{% if meta['last_seen'] %}{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}{% endif %}</td>
|
||||
<td>{{ meta['nb_seen'] }}</td>
|
||||
<td id="sparklines_{{ meta['subtype'] + loop.index0|string }}" style="text-align:center;"></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue