From 84974897ed282c234f34fcb5a1ae234c50be655e Mon Sep 17 00:00:00 2001 From: Bat Date: Thu, 26 Jul 2018 18:36:38 +0200 Subject: [PATCH] Display FQN on user profiles Fix #130 --- templates/blogs/details.html.tera | 2 +- templates/users/header.html.tera | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/blogs/details.html.tera b/templates/blogs/details.html.tera index 28c5eab0..26b836b7 100644 --- a/templates/blogs/details.html.tera +++ b/templates/blogs/details.html.tera @@ -10,7 +10,7 @@ {% endblock header %} {% block content %} -

{{ blog.title }} ~{{ blog.actor_id }}

+

{{ blog.title }} ~{{ blog.fqn }}

{{ blog.summary }}

{{ "{{ count }} authors in this blog: " | _n(singular="One author in this blog: ", count = n_authors) }} diff --git a/templates/users/header.html.tera b/templates/users/header.html.tera index fef43ea3..11ac6028 100644 --- a/templates/users/header.html.tera +++ b/templates/users/header.html.tera @@ -1,6 +1,9 @@

{{ user.name }} + + @{{ user.fqn }} + {% if user.is_admin %} {{ "Admin" | _ }} {% endif %}