From 41fa61adaa78fb41c197c2732be987f2f76f7202 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 9 Jul 2018 15:48:53 +0200 Subject: [PATCH 1/6] Do not display checksums on small devices --- ivatar/tools/templates/check.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ivatar/tools/templates/check.html b/ivatar/tools/templates/check.html index ebab4a4..c3bd0e7 100644 --- a/ivatar/tools/templates/check.html +++ b/ivatar/tools/templates/check.html @@ -23,14 +23,16 @@

This is what the avatars will look like depending on the hash and protocol you use:
- {% if mail_hash %} - MD5 hash (mail): {{ mail_hash }}
- SHA256 hash (mail): {{ mail_hash256 }}
- {% endif %} +

+ {% if mail_hash %} + MD5 hash (mail): {{ mail_hash }}
+ SHA256 hash (mail): {{ mail_hash256 }}
+ {% endif %} - {% if openid_hash %} - SHA256 hash (OpenID): {{ openid_hash }}
- {% endif %} + {% if openid_hash %} + SHA256 hash (OpenID): {{ openid_hash }}
+ {% endif %} +