From 2128a3f922fdef445e79311c83305f0291787e27 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 19 Oct 2016 12:26:24 +0200 Subject: add a link to the public profiles of users (if the opt in for it) --- src/web/templates/admin/dashboard.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html index 48c98b68..19c67b8e 100644 --- a/src/web/templates/admin/dashboard.html +++ b/src/web/templates/admin/dashboard.html @@ -20,7 +20,14 @@ {% for user in users %} {{ loop.index }} - {{ user.nickname }}{% if user.id == current_user.id %} (It's you!){% endif %} + + {% if user.is_public_profile %} + {{ user.nickname }} + {% else %} + {{ user.nickname }} + {% endif %} + {% if user.id == current_user.id %} (It's you!){% endif %} + {{ user.email }} {{ user.date_created | datetime }} {{ user.last_seen | datetime }} -- cgit