From 077beca34db5868ce935f1051643fa66469a50bb Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Tue, 8 Aug 2017 20:17:52 -0700 Subject: [PATCH] don't make the sidebar depend on the existence of a sponsor logo --- pinaxcon/templates/_default_sidebar.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pinaxcon/templates/_default_sidebar.html b/pinaxcon/templates/_default_sidebar.html index 22486ad..a1936f1 100644 --- a/pinaxcon/templates/_default_sidebar.html +++ b/pinaxcon/templates/_default_sidebar.html @@ -13,9 +13,13 @@ {% for sponsor in level.sponsors %}
- - {{ sponsor.name }} - + {% if sponsor.website_logo %} + + {{ sponsor.name }} + + {% else %} + {{ sponsor.name }} + {% endif %}
{% endfor %} {% endif %}