Verified Commit eb5ae51f authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Use member.profile.display_name instead of member.display_name for profile images alt attribute

parent 5b07ed25
......@@ -18,10 +18,10 @@
<div class="col-12 col-lg-7 text-center">
{% if not member.profile.photo %}
<img src="{% static "members/images/default-avatar.jpg" %}"
alt="{{ member.display_name }}"/>
alt="{{ member.profile.display_name }}"/>
{% else %}
<img src="{{ member.profile.photo.url }}"
alt="{{ member.display_name }}"/>
alt="{{ member.profile.display_name }}"/>
{% endif %}
</div>
<div class="col-12 col-lg-5">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment