From 421bd0bc206fa9326ffb8acee547f7b7ea49a2dd Mon Sep 17 00:00:00 2001 From: Jordan Date: Fri, 23 Oct 2020 21:42:18 -0700 Subject: improve limited-width display support --- allium/templates/misc-families.html | 2 +- allium/templates/relay-list.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/allium/templates/misc-families.html b/allium/templates/misc-families.html index 6073a49..dea08e3 100644 --- a/allium/templates/misc-families.html +++ b/allium/templates/misc-families.html @@ -59,7 +59,7 @@ reverse=True) -%} v['contact']|hash }}/" title="{{ v['contact']|escape }}">{{ v['contact']|truncate(50)|escape }} {% else -%} -none +none {% endif -%} {{ v['exit_count'] }} / {{ v['middle_count'] }} diff --git a/allium/templates/relay-list.html b/allium/templates/relay-list.html index d312af9..8283c04 100644 --- a/allium/templates/relay-list.html +++ b/allium/templates/relay-list.html @@ -14,7 +14,7 @@ AS Name Country Platform -Flags +Flags First Seen @@ -105,7 +105,7 @@ relay['platform']|truncate(length=10)|escape }} {{ relay['platform']|truncate(length=10)|escape }} {% endif -%} -{% for flag in relay['flags'] -%}{% if flag != 'StaleDesc' -%}{% for flag in relay['flags'] -%}{% if flag != 'StaleDesc' -%}{{ flag|escape }} {% endif -%}{% endfor -- cgit v1.2.3-54-g00ecf