aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-05 18:46:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-05 18:46:21 +0200
commit62a01fe61f78ee5d04d41870ae8c56d4869fcd60 (patch)
treef364aad988ded52f20974bfe372c6b2e7cc99491 /pyaggr3g470r
parentUsers are now sorted with the attribute 'last_seen'. (diff)
downloadnewspipe-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.html2
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 %}
bgstack15