diff --git a/byceps/blueprints/admin/dashboard/templates/admin/dashboard/view_global.html b/byceps/blueprints/admin/dashboard/templates/admin/dashboard/view_global.html index 91787a7a42..bb04867a87 100644 --- a/byceps/blueprints/admin/dashboard/templates/admin/dashboard/view_global.html +++ b/byceps/blueprints/admin/dashboard/templates/admin/dashboard/view_global.html @@ -22,7 +22,7 @@ {{ render_bigstats_cell(orga_count, 'Organisatoren', href=url_for('orga_admin.persons'), icon_name='users') }} {{ render_bigstats_cell(user_count|separate_thousands, 'Benutzer', href=url_for('user_admin.index'), icon_name='users') }} {{ render_bigstats_cell(recent_users_count, 'neue Benutzer in den letzten 7 Tagen', href=url_for('user_admin.index'), icon_name='users', color='#008800') }} - {{ render_bigstats_cell(disabled_user_count, 'deaktivierte Benutzer', href=url_for('user_admin.index', only='disabled'), icon_name='users', color='#cc0000') }} + {{ render_bigstats_cell(uninitialized_user_count, 'noch nicht aktivierte Benutzer', href=url_for('user_admin.index', only='disabled'), icon_name='users', color='#1199ff') }} {%- endblock %} diff --git a/byceps/blueprints/admin/dashboard/views.py b/byceps/blueprints/admin/dashboard/views.py index b4fcb32840..ab27d75f35 100644 --- a/byceps/blueprints/admin/dashboard/views.py +++ b/byceps/blueprints/admin/dashboard/views.py @@ -58,7 +58,7 @@ def view_global(): one_week_ago = timedelta(days=7) recent_users_count = user_stats_service.count_users_created_since(one_week_ago) - disabled_user_count = user_stats_service.count_disabled_users() + uninitialized_user_count = user_stats_service.count_uninitialized_users() orgas_with_next_birthdays = list( orga_birthday_service.collect_orgas_with_next_birthdays(limit=3)) @@ -73,7 +73,7 @@ def view_global(): 'user_count': user_count, 'recent_users_count': recent_users_count, - 'disabled_user_count': disabled_user_count, + 'uninitialized_user_count': uninitialized_user_count, 'orgas_with_next_birthdays': orgas_with_next_birthdays, }