# HG changeset patch # User Goffi # Date 1597386611 -7200 # Node ID ce2fd7a3911d2bac3857b01374eac6f872616c7c # Parent 5a1d7c2d965ac0c08160f21a0c53c4bacc5ba498 bulma (blog/item): use nickname when available instead of jid diff -r 5a1d7c2d965a -r ce2fd7a3911d sat_templates/templates/bulma/blog/item.html --- a/sat_templates/templates/bulma/blog/item.html Fri Aug 14 08:28:31 2020 +0200 +++ b/sat_templates/templates/bulma/blog/item.html Fri Aug 14 08:30:11 2020 +0200 @@ -38,7 +38,12 @@

{% set published = item.published|date_fmt(fmt=dates_format) %} - {{item.author}} {{published}} + {% if Identities is defined %} + {{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author}} + {% else %} + {{item.author}} + {% endif %} + {{published}} {% if item.tags %} {% if tags_http_uri is defined %}