From 93e1a47ce022d7a7b59f31f06d374af0eeb7c5db Mon Sep 17 00:00:00 2001 From: Lacey Williams Henschel Date: Wed, 26 Apr 2023 13:17:37 -0700 Subject: [PATCH] :pencil: Use display_name and not full_name --- templates/libraries/_library_list_item.html | 4 +++- templates/libraries/detail.html | 4 ++-- templates/users/photo_upload.html | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/libraries/_library_list_item.html b/templates/libraries/_library_list_item.html index f5ae911f..fb070b9c 100644 --- a/templates/libraries/_library_list_item.html +++ b/templates/libraries/_library_list_item.html @@ -11,7 +11,9 @@ {% endif %}" >{{ library.name }} {% for author in library.authors.all %} - {{ author.get_full_name }} + {% if author.image %} + {{ author.get_full_name }} + {% endif %} {% endfor %} diff --git a/templates/libraries/detail.html b/templates/libraries/detail.html index 53698999..ca92c788 100644 --- a/templates/libraries/detail.html +++ b/templates/libraries/detail.html @@ -88,7 +88,7 @@ {% else %} {% endif %} - {{ author.get_full_name }} + {{ author.get_display_name }} {% endfor %} @@ -103,7 +103,7 @@ {% else %} {% endif %} - {{ maintainer.get_full_name }} + {{ maintainer.get_display_name }} {% endfor %} diff --git a/templates/users/photo_upload.html b/templates/users/photo_upload.html index 518ff481..09e518c4 100644 --- a/templates/users/photo_upload.html +++ b/templates/users/photo_upload.html @@ -12,7 +12,7 @@ {% endif %}
- {{ user.get_full_name }} + {{ user.get_display_name }} Joined {{ user.date_joined }}