aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 00:28:59 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 00:28:59 +0200
commitba2424163a9af1c0e7b8534c62f4c18b51e7f99a (patch)
treecca9da81396fc5f2677f1588cd2a22cd5065fa99 /src/web/templates
parentFixed merge conflicts. (diff)
downloadnewspipe-ba2424163a9af1c0e7b8534c62f4c18b51e7f99a.tar.gz
newspipe-ba2424163a9af1c0e7b8534c62f4c18b51e7f99a.tar.bz2
newspipe-ba2424163a9af1c0e7b8534c62f4c18b51e7f99a.zip
Bug fix in the dashboard template.
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/admin/dashboard.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html
index d6e53526..925d4cac 100644
--- a/src/web/templates/admin/dashboard.html
+++ b/src/web/templates/admin/dashboard.html
@@ -18,7 +18,7 @@
</thead>
<tbody>
{% for user in users %}
- <tr {% if not user.enabled %}class="warning"{% endif %}>
+ <tr {% if not user.is_active %}class="warning"{% endif %}>
<td>{{ loop.index }}</td>
<td>{{ user.nickname }}{% if user.id == current_user.id %} (It's you!){% endif %}</td>
<td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
@@ -28,7 +28,7 @@
<a href="{{ url_for("admin.user", 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) }}">
- {% if user.enabled %}
+ {% if user.is_active %}
<i class="glyphicon glyphicon-ban-circle" title="{{ _("Disable this account") }}"></i>
{% else %}
<i class="glyphicon glyphicon-ok-circle" title="{{ _("Enable this account") }}"></i>
bgstack15