From 966ce619b60d69423f15b9c80dc983e85eaf34a5 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 22 Mar 2016 15:01:39 +0100 Subject: create a new user is now working --- src/web/templates/admin/dashboard.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/templates/admin') diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html index 57b20bb5..d6e53526 100644 --- a/src/web/templates/admin/dashboard.html +++ b/src/web/templates/admin/dashboard.html @@ -17,7 +17,7 @@ - {% for user in users|sort(attribute="last_seen")|reverse %} + {% for user in users %} {{ loop.index }} {{ user.nickname }}{% if user.id == current_user.id %} (It's you!){% endif %} @@ -25,7 +25,7 @@ {{ user.date_created | datetime }} {{ user.last_seen | datetime }} - + {% if user.id != current_user.id %} {% if user.enabled %} @@ -34,7 +34,7 @@ {% endif %} - + {% endif %} -- cgit