aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/admin/dashboard.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-16 08:42:36 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-16 08:42:36 +0100
commitf7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6 (patch)
tree4c29e6ac003dc9cb0a01cc1c4bd58f7df5dc3df6 /src/web/templates/admin/dashboard.html
parentI now know why my sessios was always lost on Heroku... (diff)
downloadnewspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.tar.gz
newspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.tar.bz2
newspipe-f7aa2f39d500d95bdf6cd3c28741c7f1eb2d4fa6.zip
Removed the possibility to see the list of feeds of a user. A new column in the table from of dashboard has been added.
Diffstat (limited to 'src/web/templates/admin/dashboard.html')
-rw-r--r--src/web/templates/admin/dashboard.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html
index 2436c955..22e82349 100644
--- a/src/web/templates/admin/dashboard.html
+++ b/src/web/templates/admin/dashboard.html
@@ -11,6 +11,7 @@
<th>#</th>
<th>{{ _('Nickname') }}</th>
<th>{{ _('Email') }}</th>
+ <th>{{ _('Member since') }}</th>
<th>{{ _('Last seen') }}</th>
<th>{{ _('Actions') }}</th>
</tr>
@@ -19,15 +20,11 @@
{% 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 %}
- <td><a href="{{ url_for("user.management") }}">{{ user.nickname }}</a> (It's you!)</td>
- {% else %}
- <td><a href="{{ url_for("admin.user", user_id=user.id) }}">{{ user.nickname }}</a></td>
- {% endif %}
+ <td>{{ user.nickname }}{% if user.id == current_user.id %} (It's you!){% endif %}</td>
<td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
- <td class="date">{{ user.last_seen }}</td>
+ <td class="date">{{ user.date_created | datetime }}</td>
+ <td class="date">{{ user.last_seen | datetime }}</td>
<td>
- <a href="{{ url_for("admin.user", user_id=user.id) }}"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}"></i></a>
<a href="{{ url_for("admin.user_form", user_id=user.id) }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a>
{% if user.id != current_user.id %}
<a href="{{ url_for("admin.toggle_user", user_id=user.id) }}">
bgstack15