From 9c812ad52e5116da06d6f2c76fb91d70b81318d3 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Mon, 16 Apr 2018 00:54:53 -0400 Subject: [PATCH] Truncating team names properly when scores arent hidden (#617) --- CTFd/themes/core/templates/teams.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTFd/themes/core/templates/teams.html b/CTFd/themes/core/templates/teams.html index 1237f26..baa05f9 100644 --- a/CTFd/themes/core/templates/teams.html +++ b/CTFd/themes/core/templates/teams.html @@ -28,7 +28,7 @@ {% if hide_scores() %} {{ team.name | truncate(50) }} {% else %} - {{ team.name }} + {{ team.name | truncate(50) }} {% endif %}