Mercurial > libervia-templates
changeset 24:2496887339f6
defaut (blog/item): use new identities object for author field
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 23 May 2017 00:07:19 +0200 |
parents | 2de729fac73b |
children | b046a7835374 |
files | default/blog/item.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/default/blog/item.html Sun May 21 16:14:11 2017 +0200 +++ b/default/blog/item.html Tue May 23 00:07:19 2017 +0200 @@ -5,7 +5,7 @@ <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div> {% block metadata %} <div class="metadata"> - <span class="author">{{item.author}}</span> + <span class="author">{{identities[item.author_jid].nick | default(item.author)}}</span> <span class="blog_data">{{item.published | blog_date}}</span> </div>