From 553e66b59003e4b6682fbe8d6b19e479b37d8609 Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 29 Jul 2021 17:09:23 +1000 Subject: [PATCH] Empty level bar on 0. --- templates/account_own_edit_level.html | 2 +- templates/level_list.html | 4 ++-- templates/profile.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/account_own_edit_level.html b/templates/account_own_edit_level.html index 683f04ee..32fde1a0 100644 --- a/templates/account_own_edit_level.html +++ b/templates/account_own_edit_level.html @@ -1,4 +1,4 @@ -
+
diff --git a/templates/level_list.html b/templates/level_list.html index d8fd2f79..9670ff7d 100644 --- a/templates/level_list.html +++ b/templates/level_list.html @@ -5,8 +5,8 @@
{{range .Levels}}
-
-
{{level .Level}}
+
+
{{level .Level}}
{{if eq .Status "inprogress"}}{{$.CurrentUser.Score}} / {{.Score}}{{else if eq .Status "complete"}}{{.Score}} / {{.Score}}{{else}}Next: {{.Score}}{{end}}
diff --git a/templates/profile.html b/templates/profile.html index e15299e6..0041cb1e 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -13,7 +13,7 @@