From 3d4f43d6e3aa309ef22b31792d01fc3a6b38ebfc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 23 Feb 2020 15:09:58 +0100 Subject: [PATCH] ui: show default icon for source without icon --- passbook/core/templates/login/base.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/passbook/core/templates/login/base.html b/passbook/core/templates/login/base.html index 45339ae5a..0d7604bea 100644 --- a/passbook/core/templates/login/base.html +++ b/passbook/core/templates/login/base.html @@ -54,9 +54,10 @@ {% if source.icon_path %} {{ source.name }} - {% endif %} - {% if source.icon_url %} + {% elif source.icon_url %} {{ source.name }} + {% else %} + {% endif %}