From d651af1aae59417aef931e8dd2584558272f7200 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 23 Nov 2018 19:17:19 +0100 Subject: [PATCH] router_list.html: Highlight missing contact addresses Signed-off-by: Adrian Schmutzler --- ffmap/web/templates/router_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmap/web/templates/router_list.html b/ffmap/web/templates/router_list.html index 0d4c3c4..6a2e966 100644 --- a/ffmap/web/templates/router_list.html +++ b/ffmap/web/templates/router_list.html @@ -48,7 +48,7 @@ {{ router.status }} {{ router.hood }} - {{ router.nickname if router.nickname else "" }} + {%- if router.nickname %}{{ router.nickname }}{%- elif not router.contact %}missing{%- endif %} {{ router.hardware }} {{ router.created|utc2local|format_dt_date }} {{ router.sys_uptime|format_ts_diff }}