diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-07-05 18:46:21 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-07-05 18:46:21 +0200 |
commit | 62a01fe61f78ee5d04d41870ae8c56d4869fcd60 (patch) | |
tree | f364aad988ded52f20974bfe372c6b2e7cc99491 /pyaggr3g470r | |
parent | Users are now sorted with the attribute 'last_seen'. (diff) | |
download | newspipe-62a01fe61f78ee5d04d41870ae8c56d4869fcd60.tar.gz newspipe-62a01fe61f78ee5d04d41870ae8c56d4869fcd60.tar.bz2 newspipe-62a01fe61f78ee5d04d41870ae8c56d4869fcd60.zip |
reverse the list of users
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index 6d87b326..5e774650 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -16,7 +16,7 @@ </tr> </thead> <tbody> - {% for user in users|sort(attribute="last_seen") %} + {% for user in users|sort(attribute="last_seen")|reverse %} <tr {% if user.activation_key != "" %}class="warning"{% endif %} > <td>{{ loop.index }}</td> {% if user.id == current_user.id %} |