From 35edc6340d3b6ad431299eede8d664cbc1238c05 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 15 May 2014 22:26:18 +0200 Subject: Updated dashboard. --- pyaggr3g470r/templates/admin/dashboard.html | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'pyaggr3g470r/templates/admin/dashboard.html') diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index 6169476c..8a5bad61 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -18,17 +18,23 @@ {% for user in users|sort(attribute="nickname") %} {{ loop.index }} - {{ user.nickname }}{% if user.id == current_user.id %} (It's you!){% endif %} + {% if user.id == current_user.id %} + {{ user.nickname }} (It's you!) + {% else %} + {{ user.nickname }} + {% endif %} {{ user.email }} - + - {% if user.activation_key == "" %} - - {% else %} - + {% if user.id != current_user.id %} + {% if user.activation_key == "" %} + + {% else %} + + {% endif %} + {% endif %} - {% endfor %} -- cgit