From 3036d308b266b8b9310aa12f9ccb466f5b0aefe0 Mon Sep 17 00:00:00 2001 From: Lacey Williams Henschel Date: Tue, 7 Mar 2023 13:38:28 -0800 Subject: [PATCH] :bug: Fix checking for URL if there is no image --- templates/libraries/detail.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/libraries/detail.html b/templates/libraries/detail.html index f102b74a..2935e768 100644 --- a/templates/libraries/detail.html +++ b/templates/libraries/detail.html @@ -83,7 +83,7 @@
{% for author in object.authors.all %}
- {% if author.image.url %} + {% if author.image %} user {% else %} @@ -96,9 +96,9 @@

Maintainers

- {% for maintainer in object.maintainers.all %} + {% for maintainer in maintainers.all %}
- {% if maintainer.image.url %} + {% if maintainer.image %} user {% else %}