Mercurial > libervia-templates
diff sat_templates/templates/default/blog/item.html @ 228:3195484abd82
updated identities/avatar use, following backend changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Apr 2020 22:48:57 +0200 |
parents | 178f55b825b7 |
children | aa37750c2617 |
line wrap: on
line diff
--- a/sat_templates/templates/default/blog/item.html Wed Jan 08 14:31:46 2020 +0100 +++ b/sat_templates/templates/default/blog/item.html Sun Apr 19 22:48:57 2020 +0200 @@ -42,7 +42,7 @@ {% if avatar is defined %} {{ avatar.avatar(item.author_jid, "avatar--float-left") }} {% endif %} - <span class="blog__author">{{identities[item.author_jid].nick | default(item.author)}}</span> + <span class="blog__author">{{identities[item.author_jid].nicknames[0] | default(item.author)}}</span> {% else %} <span class="blog__author">{{item.author}}</span> {% endif %}