📝 Use display_name and not full_name

This commit is contained in:
Lacey Williams Henschel
2023-04-26 13:17:37 -07:00
parent 41c6366dd5
commit 93e1a47ce0
3 changed files with 6 additions and 4 deletions

View File

@@ -11,7 +11,9 @@
{% endif %}"
>{{ library.name }}</a>
{% for author in library.authors.all %}
<img src="{{ author.image.url }}" class="inline rounded w-[30px] float-right" alt="{{ author.get_full_name }}" />
{% if author.image %}
<img src="{{ author.image.url }}" class="inline rounded w-[30px] float-right" alt="{{ author.get_full_name }}" />
{% endif %}
{% endfor %}
</h3>
</div>

View File

@@ -88,7 +88,7 @@
{% else %}
<i class="mr-2 text-5xl fas fa-user text-white/60"></i>
{% endif %}
{{ author.get_full_name }}
{{ author.get_display_name }}
</div>
{% endfor %}
</div>
@@ -103,7 +103,7 @@
{% else %}
<i class="mr-2 text-5xl fas fa-user text-white/60"></i>
{% endif %}
{{ maintainer.get_full_name }}
{{ maintainer.get_display_name }}
</div>
{% endfor %}
</div>

View File

@@ -12,7 +12,7 @@
{% endif %}
</div>
<div class="text-sm ml-4">
<span class="block">{{ user.get_full_name }}</span>
<span class="block">{{ user.get_display_name }}</span>
<span class="text-slate text-xs">Joined {{ user.date_joined }}</span>
</div>
</div>