A template variable was misnamed

This commit is contained in:
Éloi Rivard 2023-06-30 10:19:39 +02:00
parent 224ef0b692
commit ddc1085367
2 changed files with 9 additions and 1 deletions

View file

@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
[0.0.28] - 2023-06-30
=====================
Fixed
*****
- A template variable was misnamed.
[0.0.27] - 2023-06-29
=====================

View file

@ -28,7 +28,7 @@
{% if user.can_manage_users and watched_user.locked %}
<i class="lock circle big black icon" title="{% trans %}This account is locked{% endtrans %}"></i>
{% elif watched_user.photo and watched_user.photo[0] %}
<img class="ui avatar image" src="{{ url_for("account.photo", user=watched, field="photo") }}" alt="User photo">
<img class="ui avatar image" src="{{ url_for("account.photo", user=watched_user, field="photo") }}" alt="User photo">
{% else %}
<i class="user circle big black icon"></i>
{% endif %}