improve tag image

This commit is contained in:
Jesús
2019-11-21 22:52:25 -05:00
parent 38abfced34
commit 903af7ec8f
6 changed files with 59 additions and 9 deletions

View File

@@ -17,12 +17,12 @@
<p class="image is-64x64">
{% if comment.avatar %}
<img src="{{ comment.avatar }}"
alt="{{ comment.author }}"
title="{{ comment.author }}">
alt="{{ _('Avatar de %(user)s', user=comment.author) }}"
title="{{ _('Avatar de %(user)s', user=comment.author) }}">
{% else %}
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/avatar/avatar.png"
alt="{{ comment.author }}"
title="{{ comment.author }}">
alt="{{ _('Avatar predeterminado para %(user)s', user=comment.author) }}"
title="{{ _('Avatar predeterminado para %(user)s', user=comment.author) }}">
{% endif %}
</p>
</figure>