diff --git a/bin/lib/Tracker.py b/bin/lib/Tracker.py index 41fc0200..2e07570a 100755 --- a/bin/lib/Tracker.py +++ b/bin/lib/Tracker.py @@ -701,7 +701,7 @@ def get_trackers_dashboard(): for raw in r_tracker.lrange('trackers:dashboard', 0, -1): tracker_uuid, timestamp, obj_type, subtype, obj_id = raw.split(':', 4) tracker = Tracker(tracker_uuid) - meta = tracker.get_meta(options={'tags'}) + meta = tracker.get_meta(options={'description', 'tags'}) if not meta.get('type'): meta['type'] = 'Tracker DELETED' timestamp = datetime.datetime.fromtimestamp(float(timestamp)).strftime('%Y-%m-%d %H:%M:%S') diff --git a/var/www/templates/hunter/trackers_dashboard.html b/var/www/templates/hunter/trackers_dashboard.html index 0df8fbc6..cd617e89 100644 --- a/var/www/templates/hunter/trackers_dashboard.html +++ b/var/www/templates/hunter/trackers_dashboard.html @@ -108,6 +108,9 @@ {{ meta['tracked'] }} {% endif %} {% endif %} + {% if meta['description'] %} +
{{ meta['description'] }}
+ {% endif %}