forked from Github-Mirrors/canaille
fixed photo links
This commit is contained in:
parent
58abc8728d
commit
15640c6912
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@
|
|||
<a class="ui right corner label photo-delete-icon" title="{{ _("Delete the photo") }}">
|
||||
<i class="times icon"></i>
|
||||
</a>
|
||||
<img src="{% if photo %}{{ url_for("account.photo", uid=edited_user.uid, field="jpegPhoto") }}{% endif %}" alt="User photo">
|
||||
<img src="{% if photo %}{{ url_for("account.photo", uid=edited_user.uid[0], field="jpegPhoto") }}{% endif %}" alt="User photo">
|
||||
</label>
|
||||
<label
|
||||
class="ui centered photo-placeholder"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<td>
|
||||
<a href="{{ url_for('account.profile_edition', username=user.uid[0]) }}">
|
||||
{% if user.jpegPhoto and user.jpegPhoto[0] %}
|
||||
<img class="ui avatar image" src="{{ url_for("account.photo", uid=user.uid, field="jpegPhoto") }}" alt="User photo">
|
||||
<img class="ui avatar image" src="{{ url_for("account.photo", uid=user.uid[0], field="jpegPhoto") }}" alt="User photo">
|
||||
{% else %}
|
||||
<i class="user circle big black icon"></i>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue