Display FQN on user profiles

Fix #130
This commit is contained in:
Bat 2018-07-26 18:36:38 +02:00
parent 7af1faf206
commit 84974897ed
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@
{% endblock header %}
{% block content %}
<h1>{{ blog.title }} <small>~{{ blog.actor_id }}</small></h1>
<h1>{{ blog.title }} <small>~{{ blog.fqn }}</small></h1>
<p>{{ blog.summary }}</p>
<p>
{{ "{{ count }} authors in this blog: " | _n(singular="One author in this blog: ", count = n_authors) }}

View File

@ -1,6 +1,9 @@
<div class="user">
<h1>
{{ user.name }}
<small>@{{ user.fqn }}</small>
{% if user.is_admin %}
<span class="badge">{{ "Admin" | _ }}</span>
{% endif %}