From 1dbaffeb28a5c02f42d56d06d4f58a747180896d Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 17 Sep 2018 08:29:02 +0200 Subject: [PATCH] Fixed front page error on clean database. --- templates/home/index.twig | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/home/index.twig b/templates/home/index.twig index c8d6b8ae..3799cc0a 100644 --- a/templates/home/index.twig +++ b/templates/home/index.twig @@ -10,9 +10,13 @@
Statistics
- We have {{ users_count|number_format }} users and - the last person to join was {{ last_user.username }}, - ! + {% if users_count < 1 %} + This is a fresh installation, create an account! + {% else %} + We have {{ users_count|number_format }} users and + the last person to join was {{ last_user.username }}, + ! + {% endif %}