From: Michael Tremer Date: Mon, 6 Dec 2021 17:13:42 +0000 (+0000) Subject: about: Do not list empty values X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fa12b824b82f17e09f446fcbaa9392ef1fba13f;p=people%2Fms%2Fwestferry.git about: Do not list empty values Signed-off-by: Michael Tremer --- diff --git a/src/templates/system/about.html b/src/templates/system/about.html index c91e572..c2eeea0 100644 --- a/src/templates/system/about.html +++ b/src/templates/system/about.html @@ -13,10 +13,13 @@ {% for key in tables[header] %} - - {{ key }} - {{ tables[header][key] }} - + {% set value = tables[header][key] %} + {% if value %} + + {{ key }} + {{ value }} + + {% end %} {% end %}