From f0c466afa5b1cc7a5e42e2f097f266d137cece10 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 25 Oct 2020 20:03:23 -0700 Subject: include contact hash in listings, related to #1 --- allium/templates/relay-list.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'allium/templates/relay-list.html') diff --git a/allium/templates/relay-list.html b/allium/templates/relay-list.html index 8283c04..6698755 100644 --- a/allium/templates/relay-list.html +++ b/allium/templates/relay-list.html @@ -7,7 +7,7 @@ Nickname - +Contact Bandwidth IP Address AS Number @@ -49,13 +49,15 @@ relay['fingerprint']|escape }}.html">{{ relay['nickname']|truncate(15)|escape {% if key != 'contact' -%} {% if relay['contact'] -%} - +{{ relay['contact_md5'][0:8] +}} {% else -%} -✉ +none {% endif -%} {% else -%} -✉ +{{ relay['contact_md5'][0:8] +}} {% endif -%} {{ obs_bandwidth }} -- cgit v1.2.3-54-g00ecf